highcharter (version 0.7.0)

hc_add_series_boxplot: Shortcut for create boxplot

Description

Shortcut for create boxplot

Usage

hc_add_series_boxplot(hc, x, by = NULL, outliers = TRUE, ...)

Arguments

hc

A highchart htmlwidget object.

x

A numeric vector

by

A string vector same length of x

outliers

A boolean value to show or not the outliers

...

Additional arguments for the data series (http://api.highcharts.com/highcharts#series).

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
highchart() %>% 
  hc_add_series_boxplot(x = iris$Sepal.Length, by = iris$Species, name = "length") 
# }
# NOT RUN {
  
# }

Run the code above in your browser using DataCamp Workspace