Loading…
This event has ended. Visit the official site or create your own event on Sched.
Back To Schedule
Thursday, July 28 • 3:20pm - 3:40pm
Cracking open ggplot internals with {ggtrace}

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

The inner workings of {ggplot2} are difficult to grasp even for experienced users because its internal object-oriented (ggproto) system is hidden from user- facing functions, by design. This is exacerbated by the foreignness of ggproto itself, which remains the largest hurdle in the user-to-developer transition. However this needs not to be the case: ggplot internals have clear parallels to data wrangling, where data is passed between methods that take inputs and return outputs. Capitalizing on this connection, package {ggtrace} exposes the familiar functional programming logic of ggplot with functions that inspect, capture, or modify steps in a ggplot object's execution pipeline, enabling users to learn the internals through trial-and-error.

Talk materials are available at https://github.com/yjunechoe/ggtrace-rstudioconf2022.

Speakers
avatar for June Choe

June Choe

PhD Student, University of Pennsylvania
June is a second year Ph.D. student in linguistics at the University of Pennsylvania, studying various topics in language acquisition and human sentence processing. He uses R extensively for experimental and corpus research, and spends too much time making the perfect figures for... Read More →


Thursday July 28, 2022 3:20pm - 3:40pm EDT
4. National Harbor 10+11