mapframe.ggplot: Coerce ggplot Mappings to Dataframe
Description
Coerces ggplot mappings to 'data.frame'.
Usage
# S3 method for ggplot
mapframe(x, ...)
Value
data.frame
Arguments
x
ggplot
...
ignored
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()