aes_rename: Convenience function to easily rename ggplot2 aesthetics
Description
Convenience function to easily rename ggplot2 aesthetics
Usage
aes_rename(mapping, from, to)
Arguments
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`.
Value
ggplot2 aesthetics mapping