aes_d_ | R Documentation |
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
aes_d_(...)
... |
Unquoted, comma-seperated column mappings |
A mapping looks like: <column_to_be_created> = <existing column>
aes_d(group = 'class')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.