Extending your ability to extend ggplot2 - Thomas Lin Pedersen

February 4, 2020 Thomas Lin Pedersen
The ggplot2 package continue to be one of the most used frameworks for producing graphics in R. While being extremely flexible, the package itself can be constrained by the different types of graphic elements and statistic transformations available. Instead of continuing to add new features, the development in recent years have focused on making ggplot2 extensible by other packages, thus distributing development and maintenance. Despite the best of intentions, ggplot2 can feel daunting to extend, due unusual idiosyncrasies, a foreign object system, and a partly obscured rendering model. This talk intend to remove the mystery of extending ggplot2, by describing the basic ways that it can be extended and showcasing a couple of simple extensions that can be build with very little code. Lastly, it will include discussions of some best practices and gotchas that may come in handy when you start out.

About the Author

Thomas Lin Pedersen

I'm a software engineer at RStudio, focusing most of my time on developing tools for data visualisation. I'm the author of gganimate, ggraph, ggforce among others and co-author of ggplot2

Follow on Twitter Follow on Linkedin Visit Website More Content by Thomas Lin Pedersen
Previous Video
Don’t repeat yourself, talk to yourself! Repeated reporting in the R universe - Sharla Gelfand
Don’t repeat yourself, talk to yourself! Repeated reporting in the R universe - Sharla Gelfand

If you’re responsible for analyses that need updating or repeating on a semi-regular basis, you might find ...

Next Video
Forecasting Platelet Blood Bag Demand to reduce Inventory Wastage at the Stanford Blood Center - Emily Guthrie - Qian Zhao - Chelsea King
Forecasting Platelet Blood Bag Demand to reduce Inventory Wastage at the Stanford Blood Center - Emily Guthrie - Qian Zhao - Chelsea King

The Stanford Blood Center collects and distributes blood products to Stanford Hospital. One of these is pla...