Open
Description
Hello and thanks a lot for the great package!
I want to delete boxplot outliers as they're duplicates of jitters (but I want to keep the jitters). I have tried to set outlier.[any option] to NA or 0 but still no luck.
Thank you!
library(pacman)
pacman::p_load(dplyr, ggplot2, plotly)
g <- ggplot(chickwts %>% dplyr::filter(feed == "sunflower"),
aes(x = factor(feed), y = weight, fill = factor(feed))) +
geom_boxplot(outlier.shape = NA) +
geom_jitter(alpha = 0.5, height = 0)
plot(g)
ggplotly(g)
I apologize if this has been discussed before. Feel free to delete...
Metadata
Metadata
Assignees
Labels
No labels