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 bye_charts
or a proxy as returned byecharts4rProxy
.- 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.
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)