Learn R Programming

echarts4r (version 0.2.0)

e_boxplot: Boxplot

Description

Draw boxplot.

Usage

e_boxplot(e, serie, name = NULL, outliers = TRUE, ...)

e_boxplot_(e, serie, name = NULL, outliers = TRUE, ...)

Arguments

e

An echarts4r object as returned by e_charts.

serie

Column name of serie to plot.

name

name of the serie.

outliers

Whether to plot outliers.

...

Any other option to pass, check See Also section.

See Also

Additional arguments

Examples

Run this code
# NOT RUN {
df <- data.frame(
  x = c(1:10, 25),
  y = c(1:10, -6)
)

df %>% 
  e_charts() %>% 
  e_boxplot(y, outliers = TRUE) %>% 
  e_boxplot(x, outliers = TRUE)

# }

Run the code above in your browser using DataLab