I want to make a line graph that plots Elapsed column as x-axis and and the rest as different samples.
So far I have tried this with ggplot()
but saw no graph:
merged %>%
pivot_longer(!Elapsed) %>%
ggplot(aes(x = Elapsed, y= value, color = name)) +
geom_point()
Alternatively, could you please help specify the appropriate syntax for plot_ly()
plot_ly(x = merged$Elapsed, y= ??, type = 'scatter',
mode = 'lines', name = 'Relative Wound Density')