aes() captures unevaluated expressions that describe how columns of the
data map onto visual properties. The first two unnamed arguments are taken
as x and y. Expressions are evaluated later, against the layer data,
in the environment where aes() was called.
aes(...)An object of class ggnext_aes.
aes(speed, dist)
#> <ggnext aesthetic mapping>
#> x -> speed
#> y -> dist
aes(x = speed, y = dist, color = gear)
#> <ggnext aesthetic mapping>
#> x -> speed
#> y -> dist
#> color -> gear