Quantcast
Channel: How to plot a hybrid boxplot: half boxplot with jitter points on the other half? - Stack Overflow
Browsing latest articles
Browse All 4 View Live

Image may be NSFW.
Clik here to view.

Answer by Tung for How to plot a hybrid boxplot: half boxplot with jitter...

Adding another option: gghalves package developed by @erocoarlibrary(tidyverse)library(ggbeeswarm)# if (!require(devtools)) {# install.packages('devtools')# }#...

View Article



Image may be NSFW.
Clik here to view.

Answer by erocoar for How to plot a hybrid boxplot: half boxplot with jitter...

I find this hybrid boxplot very, very lovely so I wanted to recreate it too. I wrote a geom_boxjitter that inherits from geom_boxplot and only adds minor changes: It draws the geom_rect only on the...

View Article

Image may be NSFW.
Clik here to view.

Answer by Roman for How to plot a hybrid boxplot: half boxplot with jitter...

A very fast solution would be to add some nudge using position_nudge. dat_long %>% ggplot(aes(x = type, y = value, fill=key)) + geom_boxplot(outlier.color = NA) + geom_point(position =...

View Article

Image may be NSFW.
Clik here to view.

How to plot a hybrid boxplot: half boxplot with jitter points on the other half?

I'm trying to make a similar plot to Fig. 2d-f in an article published on Nature this year. It's basically a half boxplot with points on the other half.Can anyone give me some hints? Thank you very...

View Article
Browsing latest articles
Browse All 4 View Live


Latest Images