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.
ggplot2 Essentials
By :
ggplot2 Essentials
By:
Overview of this book
Table of Contents (14 chapters)
ggplot2 Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Graphics in R
Getting Started
The Layers and Grammar of Graphics
Advanced Plotting Techniques
Controlling Plot Details
Special Applications of ggplot2
Index
Customer Reviews