Book Image

ggplot2 Essentials

By : Donato Teutonico
Book Image

ggplot2 Essentials

By: Donato Teutonico

Overview of this book

Table of Contents (14 chapters)
ggplot2 Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, we went through the most important plot types that can be realized with ggplot2. We have seen how to realize histograms and density plots, how to build bar charts and boxplots, and how to create scatterplots for bivariate data. Moreover, you saw the application of special types of plots, such as the representation of time series data, as well as bubble charts. For each plot type, you saw simple examples with the inclusion of additional elements in the basic plot, such as faceting and change in point size and color, using the qplot function. In the next chapter, we will start using the more sophisticated ggplot function.