- Series: Use R!
- Paperback: 213 pages
- Publisher: Springer; 1st ed. 2009. Corr. 3rd printing 2010 edition (February 22, 2010)
- Language: English
- ISBN-10: 0387981403
- ISBN-13: 978-0387981406
- Product Dimensions: 6.1 x 0.5 x 9.2 inches
- Shipping Weight: 14.7 ounces
- Average Customer Review: 49 customer reviews
- Amazon Best Sellers Rank: #593,971 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
ggplot2: Elegant Graphics for Data Analysis (Use R!) 1st ed. 2009. Corr. 3rd printing 2010 Edition
Use the Amazon App to scan ISBNs and compare prices.
There is a newer edition of this item:
The Amazon Book Review
Author interviews, book reviews, editors picks, and more. Read it now
Customers who bought this item also bought
What other items do customers buy after viewing this item?
From the Back Cover
This book describes ggplot2, a new data visualization package for R that uses the insights from Leland Wilkison's Grammar of Graphics to create a powerful and flexible system for creating data graphics. With ggplot2, it's easy to:
- produce handsome, publication-quality plots, with automatic legends created from the plot specification
- superpose multiple layers (points, lines, maps, tiles, box plots to name a few) from different data sources, with automatically adjusted common scales
- add customisable smoothers that use the powerful modelling capabilities of R, such as loess, linear models, generalised additive models and robust regression
- save any ggplot2 plot (or part thereof) for later modification or reuse
- create custom themes that capture in-house or journal style requirements, and that can easily be applied to multiple plots
- approach your graph from a visual perspective, thinking about how each component of the data is represented on the final plot
This book will be useful to everyone who has struggled with displaying their data in an informative and attractive way. You will need some basic knowledge of R (i.e. you should be able to get your data into R), but ggplot2 is a mini-language specifically tailored for producing graphics, and you'll learn everything you need in the book. After reading this book you'll be able to produce graphics customized precisely for your problems, and you'll find it easy to get graphics out of your head and on to the screen or page.
Hadley Wickham is an Assistant Professor of Statistics at Rice University, and is interested in developing computational and cognitive tools for making data preparation, visualization, and analysis easier. He has developed 15 R packages and in 2006 he won the John Chambers Award for Statistical Computing for his work on the ggplot and reshape R packages.
Browse award-winning titles. See more
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
Fortunately for users of ggplot2, but unfortunately for my review of this book, the ggplot2 package is still rapidly evolving. Much has already changed since the publication of this book, so there are many parts of the ggplot2 system that are not covered by this book. I do not think there are many places that the code in the book will not work anymore, but there are some significant recent additions that are completely unmentioned. Since most of the important information is available online, it is hard to recommend the book too strongly, as the cost is not insignificant. On the other hand, I am happy to have supported the further development of the ggplot2 package (and other R projects) by whatever portion of the proceeds made it back to Hadley Wickham.
This should not detract from the overall impression, but one caution: ggplot2 is so powerful and flexible because it relies on the so-called "grammar of graphics" approach, where you imagine what you want and add it in sequentially, much like a verbal description. As a result, some of the vocabulary and syntax are not immediately intuitive (though this is rapidly gained). If you want to get to work immediately with ggplot2, I would recommend also getting Chang's "R Graphics Cookbook" to tide you through the early stages. And googling questions is also very useful.
The only other is that I wish there was a new edition since the emphasis on "themes" was increased (and the "opts" approach was deprecated). One of the challenges of open-source software which is being continuously updated.
Recently, I had to generate some graphs again, and took the plunge and bought this book to try to come up to speed on one of the better graphing libraries. I'm glad that I did. Wickham does a great job of laying out the underlying concepts behind the ggplot2 library. By understanding the concepts, you have a much better chance at being able to generate the specific plot that you want to generate, rather than a "cookbook" approach to documentation where you hope that one of the examples matches yours.
It helps that ggplot2 is specifically designed to make it easier to construct arbitrary plots. The model is a good one, and it's worth investing the time to learn how to use it. I bought the Kindle edition, and was a little fearful that a book on graphs wouldn't work well in that format. But, despite the monochrome, low-resolution format of a Kindle, the accompanying images of the plots still work well (except for the absence of color), and I feel comfortable recommending the Kindle version for those who like to read in that format.
And if you use ggplot2 then you need this book. Yes, much of the material is available online, including even the PDF. Yes, there are extensive help files. Yes, you will still have to google lots of things to find answers. Some of the plot options have changed since the book was published but they still work (with helpful messages about how to update them).
But: the book is so much faster to flip through than a web search, you can mark it up, it's nicely printed in color, you will discover things serendipitously while browsing it, and buying it will support the market for such high quality texts. I'm delighted to have my own copy and, just like joining the local public radio, am proud to pay my dues.
The content of the book itself starts with a basic tutorial on quick plots, and then progresses to the more systematic "grammar of graphics" types, concluding with lots of reference material to tricky things like symbols and plot options. It's great to flip through it until I find that "I want a plot like that" and see the code right there. My only complaint is that I wish it had more on the grammar part; sometime I will need to buy and read Wilkinson The Grammar of Graphics (Statistics and Computing), too (not a replacement for this book).
Most recent customer reviews
Writing this to point out this book is outdated.Read more