From 781906da7552c5aa1740a0ed6d82bb4652b87b17 Mon Sep 17 00:00:00 2001 From: David Stahl Date: Mon, 7 May 2012 22:44:13 -0300 Subject: [PATCH 1/2] Fixed typo - comment said you could denote sepal width but graph & R code said petal width. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a43faa6..f030769 100644 --- a/README.md +++ b/README.md @@ -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. From 206972e9a895471eae197e584f622918e2cb577d Mon Sep 17 00:00:00 2001 From: Edwin Chen Date: Sun, 7 Oct 2012 16:54:29 -0700 Subject: [PATCH 2/2] Update README. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a43faa6..e283331 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ Here we have the same data, but now the file is comma-delimited and contains a h header = T # first line contains column names, so we can ) # immediately call `students$age` -(Note: there is also a `read.csv` function that uses `sep = ","` by default.) +(Note: there is also a `read.csv` function.) ## help @@ -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). -Edwin Chen :: [@edchedch](https://twitter.com/#!/edchedch) :: [http://blog.echen.me](http://blog.echen.me/) \ No newline at end of file +Edwin Chen :: [@echen](https://twitter.com/#!/echen) :: [http://blog.echen.me](http://blog.echen.me/) \ No newline at end of file