Abstract
The goal of this chapter is to teach you how to produce useful graphics with ggplot2 as quickly as possible. You’ll learn the basics of ggplot() along with some useful “recipes” to make the most important plots. ggplot() allows you to make complex plots with just a few lines of code because it’s based on a rich underlying theory, the grammar of graphics. Here we’ll skip the theory and focus on the practice, and in later chapters you’ll learn how to use the full expressive power of the grammar.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2016 the Author
About this chapter
Cite this chapter
Wickham, H. (2016). Getting Started with ggplot2. In: ggplot2. Use R!. Springer, Cham. https://doi.org/10.1007/978-3-319-24277-4_2
Download citation
DOI: https://doi.org/10.1007/978-3-319-24277-4_2
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-24275-0
Online ISBN: 978-3-319-24277-4
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)