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 suppled in each layer added to the plot. |
... |
Other arguments passed on to methods. Not currently used. |
environment |
If an variable defined in the aesthetic mapping is not
found in the data, ggplot will look for it in this environment. It defaults
to using the environment in which |
Value
Name of the data.frame
passed to ggplot
[Package ggghost version 0.2.1 Index]