How to make this combination work? I can create the boxplot. I can create a scatter plot with jittered points, but I cannot put them together. Does anyone have any idea? The idea is to continue using echarts library.
library(echarts4r)
library(dplyr)
echart1 <- mtcars |>
group_by(cyl) |>
e_charts(cyl) |>
e_scatter_(
"hp",
jitter_factor = 2
)
echart2 <- mtcars |>
group_by(cyl) |>
e_charts() |>
e_boxplot(hp)