Abstract
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.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
W. S. Cleveland. Visualizing Data. Hobart Press, 1993.
Hadley Wickham. ggplot2: Elegant Graphics for Data Analysis. Springer, 2009.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2010 Springer Science+Business Media, LLC
About this chapter
Cite this chapter
Muenchen, R.A., Hilbe, J.M. (2010). Graphics with ggplot2. In: R for Stata Users. Statistics and Computing. Springer, New York, NY. https://doi.org/10.1007/978-1-4419-1318-0_16
Download citation
DOI: https://doi.org/10.1007/978-1-4419-1318-0_16
Publisher Name: Springer, New York, NY
Print ISBN: 978-1-4419-1317-3
Online ISBN: 978-1-4419-1318-0
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)