View source: R/highcharts-api-add.R
mutate_mapping | R Documentation |
Modify data frame according to mapping
mutate_mapping(data, mapping, drop = FALSE)
data |
A data frame object. |
mapping |
A mapping from |
drop |
A logical argument to you drop variables or not. Default is
|
df <- head(mtcars)
mutate_mapping(data = df, mapping = hcaes(x = cyl, y = wt + cyl, group = gear))
mutate_mapping(data = df, mapping = hcaes(x = cyl, y = wt), drop = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.