identify_data {ggghost} | R Documentation |
Identify the data passed to ggplot
Description
Duplicate arguments to ggplot2::ggplot with the intent that the data
argument can be captured and identified.
Usage
identify_data(
data,
mapping = ggplot2::aes(),
...,
environment = parent.frame()
)
Arguments
data |
Default dataset to use for plot. If not already a data.frame,
will be converted to one by |
mapping |
Default list of aesthetic mappings to use for plot. If not specified, must be supplied in each layer added to the plot. |
... |
Other arguments passed on to methods. Not currently used. |
environment |
(deprecated) Used prior to tidy evaluation. |
Value
Name of the data.frame
passed to ggplot
[Package ggghost version 0.2.3 Index]