This is an R package that accompanies our CHI 2020 paper, A Probabilistic Grammar of Graphics (PGoG). Here we implement the PGoG grammar as two ggplot2
geom
s and show that PGoG can be compatible with an existing grammar of graphics-based system. This package is intented as a prototype; not all valid PGoG specifications are supported.
devtools::install_github("MUCollective/pgog")
- This vignette lists many PGoG specification examples.
- Sketch(-y) proof of correctness