Construct aesthetic mappings
aes.Rd
See ggplot2::aes()
for details.
Arguments
- x, y, ...
<
data-masking
> List of name-value pairs in the formaesthetic = variable
describing which variables in the layer data should be mapped to which aesthetics used by the paired geom/stat. The expressionvariable
is evaluated within the layer data, so there is no need to refer to the original dataset (i.e., useggplot(df, aes(variable))
instead ofggplot(df, aes(df$variable))
). The names for x and y aesthetics are typically omitted because they are so common; all other aesthetics must be named.