File: standardise_aes_names.Rd

package info (click to toggle)
r-cran-ggplot2 3.4.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 8,748 kB
  • sloc: sh: 15; makefile: 5
file content (20 lines) | stat: -rw-r--r-- 673 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/aes.r
\name{standardise_aes_names}
\alias{standardise_aes_names}
\title{Standardise aesthetic names}
\usage{
standardise_aes_names(x)
}
\arguments{
\item{x}{Character vector of aesthetics names, such as \code{c("colour", "size", "shape")}.}
}
\value{
Character vector of standardised names.
}
\description{
This function standardises aesthetic names by converting \code{color} to \code{colour}
(also in substrings, e.g. \code{point_color} to \code{point_colour}) and translating old style
R names to ggplot names (eg. \code{pch} to \code{shape}, \code{cex} to \code{size}).
}
\keyword{internal}