| aes {ggplot2} | R Documentation |
aes creates a list of unevaluated expressions. This function also
performs partial name matching, converts color to colour, and old style R
names to ggplot names (eg. pch to shape, cex to size)
aes(x, y, ...)
x,y,... |
List of name value pairs giving aesthetics to map. |
See
aes_colour_fill_alpha, aes_group_order,
aes_linetype_size_shape and aes_position
for more specific examples with different aesthetics.
Other aesthetic generators: aes_q,
aes_string
aes(x = mpg, y = wt) aes(x = mpg ^ 2, y = wt / cyl)