standardise_aes_names {ggplot2} | R Documentation |
Standardise aesthetic names
Description
This function standardises aesthetic names by converting color
to colour
(also in substrings, e.g. point_color
to point_colour
) and translating old style
R names to ggplot names (eg. pch
to shape
, cex
to size
).
Usage
standardise_aes_names(x)
Arguments
x |
Character vector of aesthetics names, such as |
Value
Character vector of standardised names.
[Package ggplot2 version 3.5.2 Index]