standardise_aes_names

0th

Percentile

Standardise aesthetic names

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).

Keywords
internal
Usage
standardise_aes_names(x)
Arguments
x

Character vector of aesthetics names, such as c("colour", "size", "shape").

Value

Character vector of standardised names.

Aliases
  • standardise_aes_names
Documentation reproduced from package ggplot2, version 3.1.0, License: GPL-2 | file LICENSE

Community examples

Looks like there are no examples yet.