Construct aesthetic mappings
aes.RdSee ggplot2::aes() for details.
Arguments
- x, y, ...
<
data-masking> List of name-value pairs in the formaesthetic = variabledescribing which variables in the layer data should be mapped to which aesthetics used by the paired geom/stat. The expressionvariableis 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.