Graphics with ggplot2

  • Robert A. Muenchen
  • Joseph M. Hilbe
Part of the Statistics and Computing book series (SCO)


As we discussed in Chapter 14, “Graphics Overview,” the ggplot2 package is an implementation of Wilkinson’s Grammar of Graphics (hence the “gg” in its name). The last chapter focused on R’s traditional graphics functions. Many plots were easy, but other plots were a lot of work compared to Stata. In particular, adding things like legends and confidence intervals were complicated.


Scatter Plot Function Call Data Frame Position Argument Plot Function 
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.


  1. 6.
    W. S. Cleveland. Visualizing Data. Hobart Press, 1993.Google Scholar
  2. 55.
    Hadley Wickham. ggplot2: Elegant Graphics for Data Analysis. Springer, 2009.Google Scholar

Copyright information

© Springer Science+Business Media, LLC 2010

Authors and Affiliations

  1. 1.Statistical Consulting Center, Stokeley Management CenterUniversity of Tennessee Office of Information TechnologyKnoxvilleUSA
  2. 2.FlorenceUSA

Personalised recommendations