yarrr
yarrr copied to clipboard
One-sided density/bean curves
I find the two-sided density/bean/violin shapes very confusing, and I would love to have the option to plot with the density on only one side, rather than mirrored. To complement this, it would also be great to be able to flip the orientation of the plot so that the bars are horizontal, rather than vertical (ala "raincloud plots" https://micahallen.org/2018/03/15/introducing-raincloud-plots/).
Any chance these options could be added?
Thanks for the note! I think that would be a nice addition. The raincloud plots look quite nice indeed.
I think I won't add this anytime soon though as it would be a non--trivial addition to the code. Better stick with ggplot2 :)
I have been playing around with creating a ggplot2 version of pirateplot()
called ggpirate()
. The code is there I just need to prioritise documenting the code and writing vignettes. When I do, I'd be happy to include a type = 'raincloud'
argument as this would be easy to include in ggplot2.