diff --git a/plot.r b/plot.r index b4b9f3848738fe2c171abf678afbe5cf7c464426..5455e9477f86edb9c147badf58004d430034dbeb 100644 --- a/plot.r +++ b/plot.r @@ -1,4 +1,6 @@ library(ggplot2) + +str(iris) ggplot(iris) + aes(x = Sepal.Length, y = Sepal.Width, colour = Species) + - geom <- point() + - geom <- smooth(method = "lm", se = FALSE) + geom_point() + + geom_smooth(method = "lm", se = FALSE) \ No newline at end of file