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