get_data_subset | R Documentation |
This function returns a subset of the data for a specific geom.
get_data_subset(geom_name, data, aes, p_build)
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. |
A list containing the data subset for the specified geom.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.