ggplot2 pp 41-64 | Cite as

Build a plot layer by layer

Part of the Use R book series (USE R)

Layering is the mechanism by which additional data elements are added to a plot. Each layer can come from a different dataset and have a different aesthetic mapping, allowing us to create plots that could not be generated using qplot(), which permits only a single dataset and a single set of aesthetic mappings.


Data Frame Position Adjustment Aesthetic Property Smooth Line Nlme Package 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag New York 2009

Authors and Affiliations

  1. 1.Department of StatisticsRice UniversityHoustonUSA

Personalised recommendations