ggplot2: Elegant Graphics for Data Analysis

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

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.

Author(s): Hadley Wickham (auth.)
Series: Use R
Edition: 1
Publisher: Springer-Verlag New York
Year: 2009

Language: English
Pages: 213
Tags: Statistical Theory and Methods

Front Matter....Pages i-vii
Introduction....Pages 1-7
Getting started with qplot....Pages 9-26
Mastering the grammar....Pages 27-40
Build a plot layer by layer....Pages 41-64
Toolbox....Pages 65-90
Scales, axes and legends....Pages 91-113
Positioning....Pages 115-137
Polishing your plots for publication....Pages 139-155
Manipulating data....Pages 157-175
Reducing duplication....Pages 177-182
Back Matter....Pages 1-26