Examples for 'ggplot2::aes_all'


Given a character vector, create a set of identity mappings

Aliases: aes_all

Keywords: internal

### ** Examples

aes_all(names(mtcars))
Aesthetic mapping: 
* `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"))
Aesthetic mapping: 
* `x`      -> `x`
* `y`      -> `y`
* `colour` -> `col`
* `shape`  -> `pch`

[Package ggplot2 version 3.3.6 Index]