Learn R Programming

echarts4r (version 0.4.5)

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 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

Examples

Run this code
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