geom_bxjt | R Documentation |
Boxplot with jitter and mean
geom_bxjt(..., fill = "#00A2CEFF", color = NA, size = 3)
fill |
fill for geom_jitter (default = "#00A2CEFF") |
color |
color for geom_jitter |
size |
size of points (default = 3) |
This function combines geom_boxplot, geom_jitter, and stat_summary("mean") for ggplot.
mtcars %>%
ggplot(aes(as.factor(cyl), mpg)) +
geom_bxjt()
mtcars %>%
ggplot(aes(as.factor(cyl), mpg)) +
geom_bxjt(fill = "green", color = "white")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.