Coerces ggplot mappings to 'data.frame'.
Usage
# S3 method for class 'ggplot'
mapframe(x, ...)Details
* 'aesthetic' captures each aesthetic label as a string. * 'map' captures each map (typ. a column name) as a string. * 'layer' is zero for the default mapping, else the layer number. * 'data' is NA for default data if missing. Else zero for x$data, zero for layers with no data, and layer number for layers with data.
See also
Other decorated_ggplot:
data_context(),
data_context.ggplot(),
ggplot.decorated(),
ggplot_build.decorated_ggplot(),
mapframe(),
mapframe.default()