Something like this?
x = seq(-10,10,1) df <- data.frame(x = x, y = x^2) ggplot(df, aes(y = y, x = x)) + geom_line()
2.1m questions
2.1m answers
60 comments
57.0k users