~/talk

Extending your ability to extend ggplot2

Talkat rstudio::conf 2019 · 2019-01-15..01-18· [data-science]
slides:none on file

Shows how to add a new stat/geom by subclassing ggplot2’s ggproto classes, implementing setup_data and compute_group to turn (x0,y0,r) into polygon points, and returning grid grobs so it renders. Demonstrates a working geom_circle built from an R function that precomputes periphery points, explains when to vectorize at compute_panel for speed, and confirms the extension honors facets and existing ggplot2 semantics.

AI-written summary · about

  1. 0:00Start
  2. 1:02EXTENSION POINTS
  3. 3:48THEMES
  4. 5:22GGPROTO
  5. 14:52DRAWING A CIRCLE
  6. 19:50WANT MORE...
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.