Given a character vector, create a set of identity mappings

aes_all(vars)

Arguments

vars

vector of variable names

Examples

aes_all(names(mtcars))
#> * mpg -> mpg #> * cyl -> cyl #> * disp -> disp #> * hp -> hp #> * drat -> drat #> * wt -> wt #> * qsec -> qsec #> * vs -> vs #> * am -> am #> * gear -> gear #> * carb -> carb
aes_all(c("x", "y", "col", "pch"))
#> * x -> x #> * y -> y #> * colour -> col #> * shape -> pch