aes_d: Aesthetic mappings for datasets

aes_dR 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 unquoted string arguments, rather than the quoted 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.