View source: R/xplot_helpers.R
aes_filter | R Documentation |
Convenience function to easily filter ggplot2 aesthetics
aes_filter(mapping, drop = NULL, keep_only = NULL)
mapping |
ggplot2 aesthetics |
drop |
names of ggplot2 aesthetics to be removed from the 'mapping'. Alternative to the 'keep_only' argument. |
keep_only |
names of the only ggplot2 aesthetics to be kept in the 'mapping'. Alternative to the 'drop' argument. |
ggplot2 aesthetics mapping
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.