This is a new edition to the classic book by ggplot2 creator Hadley Wickham. ggplot2 is a data visualization package for R that helps users create data graphics, including those that are multi-layered, with ease. The new edition highlights compatibility with knitr and RStudio. 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 e asily 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 Chief Scientist at RStudio and Assistant Professor of Statistics at Rice University. Hadley 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 won the John Chambers Award for Statistical Computing for his work on the ggplot and reshape R packages.
Carson Sievert is a PhD student in the Department of Statistics at Iowa State University. His work includes R packages for acquiring data from the Web (pitchRx, bbscrapeR, XML2R), designing interactive Web graphics (animint, plotly), and visualizations for exploring statistical models (LDAvis).