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 saw how you can manipulate the organization of the plot in the plot area. This is useful when you want to place several plots next to each other or if you want to include a small plot inset within the plot area of another graph. We also saw how you can save your plot in a file, ranging from manually saving the plot up to including the saving options in a script file that can be executed. In the last chapter, we will see a few applications of ggplot2 that also involve the use of other R packages. We will see how mapped data can be plotted in ggplot2 objects and how matrix scatterplots and heat maps can be created.