View source: R/xplot_helpers.R
aes_rename | R Documentation |
Convenience function to easily rename ggplot2 aesthetics
aes_rename(mapping, from, to)
mapping |
ggplot2 aesthetics |
from |
names of ggplot2 aesthetics to be renamed. Note: should match the order of arg 'to'. |
to |
new names to be set for ggplot2 aesthetics. Note: should match the order of arg 'from'. |
ggplot2 aesthetics mapping
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.