@@ -154,7 +154,7 @@ To see where each species is located in this graph, we can color each point by a
[![Sepal vs. Petal, Colored by Species](http://dl.dropbox.com/u/10506/blog/r/ggplot2/sepal-vs-petal-specied.png)](http://dl.dropbox.com/u/10506/blog/r/ggplot2/sepal-vs-petal-specied.png)
-Similarly, we can let the size of each point denote sepal width, by adding a `size = Sepal.Width` argument.
+Similarly, we can let the size of each point denote petal width, by adding a `size = Petal.Width` argument.
qplot(Sepal.Length, Petal.Length, data = iris, color = Species, size = Petal.Width)
# We see that Iris setosa flowers have the narrowest petals.
@@ -241,4 +241,4 @@ So I'll end with some additional resources on R and ggplot2.
* [plyr](http://plyr.had.co.nz/) is another fantastic R package that's also by Hadley Wickham (the author of ggplot2).
* The [official R introduction](http://cran.r-project.org/doc/manuals/R-intro.html) is okay, but definitely not great. I haven't found any R tutorials I really like, but I've heard good things about [The Art of R Programming](http://www.amazon.com/Art-Programming-Statistical-Software-Design/dp/1593273843).