This is wild:
TIL you can splice the mapping in ggplot2:
my_mapping <- aes(x = foo, y = bar)
aes(colour = qux, !!!my_mapping)
#> Aesthetic mapping:
#> * `x` -> `foo`
#> * `y` -> `bar`
#> * `colour` -> `qux`
add a skeleton here at some point
11 months ago