get_data_subset {plotcli} | R Documentation |
Get data subset for a specific geom
Description
This function returns a subset of the data for a specific geom.
Usage
get_data_subset(geom_name, data, aes, p_build)
Arguments
geom_name |
The name of the geom for which the data subset is needed. |
data |
The data to be subsetted. |
aes |
The aesthetic mappings for the geom. |
p_build |
The ggplot build object. |
Value
A list containing the data subset for the specified geom.
[Package plotcli version 0.1.0 Index]