View source: R/utils-validation.R
| resolve_aesthetic | R Documentation |
Resolve an aesthetic value that could be a constant, vector, or column name.
resolve_aesthetic(value, data = NULL, n = NULL, default = NULL)
value |
Value to resolve. |
data |
Data frame to look up column names. |
n |
Expected length. |
default |
Default value if NULL. |
Resolved vector of values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.