Creating ggplot2 Extensions
Bob Rudis
2018-02-03
Preface
If you’re reading this tome you are likely familiar with the ggplot2 package and have used it to create one or more data-driven visualizations.
The goal of this book is to help you move from being a user of ggplot2 into a creator of new ggplot2 components that others can use. There are many types of components you can build for ggplot, including those involving:
- statistical computation (Stats inggplot2nomenclature)
- new visual elements (Geoms)
- coordinate systems (Coords)
- data transformation (scales)
- overall plot appearance (themes)
You will progress from developing basic components in standalone scripts/projects to packaging up your creations to make them easier to distribute so others can more readily use them.