standardise_aes_names: Standardise aesthetic names

Description Usage Arguments Value

View source: R/aes.r

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

1

Arguments

x

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

Value

Character vector of standardised names.


czxa/ggplot2 documentation built on Oct. 8, 2018, 12:11 a.m.