From 3ad5df1804c3710838fb6a4cfd8696bc2900722a Mon Sep 17 00:00:00 2001 From: rtremeaud Date: Sat, 20 Oct 2018 11:28:31 +0200 Subject: [PATCH] new qplot without (ylab) --- ggplot2-tutorial.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ggplot2-tutorial.R b/ggplot2-tutorial.R index d483425..83d95f8 100644 --- a/ggplot2-tutorial.R +++ b/ggplot2-tutorial.R @@ -148,7 +148,7 @@ ) # Plot the number of movies each director has. - qplot(director, data = movies, geom = "bar", ylab = "# movies") +qplot(director, data = movies, geom = "bar") # By default, the height of each bar is simply a count. # But we can also supply a different weight. @@ -184,4 +184,4 @@ #* [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 :: [@edchedch](https://twitter.com/#!/edchedch) :: [http://blog.echen.me](http://blog.echen.me/)