e_boxplot: Boxplot

View source: R/add.R

e_boxplotR Documentation

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 or a proxy as returned by echarts4rProxy.

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

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)

echarts4r documentation built on July 9, 2023, 7:26 p.m.