Description Usage Arguments Examples
Helper to transform data frame for boxplot highcharts format
1 2 3 4 5 6 7 8 |
data |
The data frame containing variables. |
variable |
The variable to calculate the box plot data. |
group_var |
A variable to split calculation |
group_var2 |
A second variable to create separate series. |
add_outliers |
A logical value indicating if outliers series should
be calculated. Default to |
... |
Arguments defined in https://api.highcharts.com/highcharts/plotOptions.series. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | data(pokemon)
dat <- data_to_boxplot(pokemon, height)
highchart() %>%
hc_xAxis(type = "category") %>%
hc_add_series_list(dat)
dat <- data_to_boxplot(pokemon, height, type_1, name = "height in meters")
highchart() %>%
hc_xAxis(type = "category") %>%
hc_add_series_list(dat)
## Not run:
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.