I have the following data frame:
vector_builtin vector_loop vector_recursive
1 0.00 0.10 0.34
2 0.00 0.10 0.36
3 0.00 0.08 0.36
4 0.00 0.11 0.34
5 0.00 0.11 0.36
I want to display the three columns in a line chart.
I have imported ggplot2 into R and the chart is displaying without data or lines in it.
Code:
library(ggplot2)
indexes <- row.names(df.new)
ggplot(df.new, aes(x=vector_recursive, y=indexes))
Output I want A chart showing the three series in a line chart.
See Question&Answers more detail:os