Skip to main content

Graphics with ggplot2

  • Chapter

Part of the book series: Statistics and Computing ((SCO))

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

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   249.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD   249.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. W. S. Cleveland. Visualizing Data. Hobart Press, 1993.

    Google Scholar 

  2. Hadley Wickham. ggplot2: Elegant Graphics for Data Analysis. Springer, 2009.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Robert A. Muenchen .

Rights and permissions

Reprints 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

Publish with us

Policies and ethics