Create aesthetic mapping
Examples
encode(x = mpg, y = wt)
#> Aesthetic mapping:
#> * `x` -> `mpg`
#> * `y` -> `wt`
encode(x = Sepal.Width, y = Sepal.Length, colour = Species)
#> Aesthetic mapping:
#> * `x` -> `Sepal.Width`
#> * `y` -> `Sepal.Length`
#> * `colour` -> `Species`
encode() # empty mapping
#> Aesthetic mapping:
#> <empty>