aes_d_: Aesthetic mappings for datasets

View source: R/aes_d.R

aes_d_R Documentation

Aesthetic mappings for datasets

Description

The idea comes straight from aes_ in ggplot2. That provides a way to map columns of a dataset to features of graphic. Here we are mapping columns into a function so we can use standard names inside that function. This function variant expects string argument, rather than the unquoted version aes_d

Usage

aes_d_(...)

Arguments

...

Unquoted, comma-seperated column mappings

Details

A mapping looks like: <column_to_be_created> = <existing column>

Examples

aes_d(group = 'class')

liamgilbey/ggwaffle documentation built on Sept. 3, 2022, 4:53 p.m.