-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Proposal] Rain-cloud plot #21
Comments
Thanks At some point I was thinking about adding geom_sina and or geom_quasirandom / beeswarm plots . |
Hi can you share a data that I can use as an example working on an update that will add violin and position beeswarm and position quasirandom while not exactly using gghalves |
Please note, that raincloud without the boxplot is not very useful, as it doesn't show quantiles. Moreover, using raw jittered data inappropriate for discrete data, like drug doses - that's where it's should be replaced by dotplots. You can use any data set.
and
or
|
thanks a lot for these informative examples for now I added violin plot and additional positions examples are attached also added a separate point for the mean and label for the N |
You might want to consider adding raincloud plots to your package. They gain popularity over the raw boxplots.
A raincloud plot is a combination of a boxplot, density (violin) and the raw data. Additional stuff, like mean, SD or CI may be added for convenience (it's not closed). Raincloud plot:
When it's about discrete data, the jittered values (showing then false values) should be replaced by dot-strip chart, which stacks the values.
Please find this article about them.
Allen, M., Poggiali, D., Whitaker, K., Marshall, T. R., & Kievit, R. A. (2019). Raincloud plots: a multi-platform tool for robust data visualization. Wellcome open research, 4, 63. https://doi.org/10.12688/wellcomeopenres.15191.1
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6480976/
They can be easily created with the gghalves package.
https://twitter.com/hashtag/gghalves
Found also this:
The text was updated successfully, but these errors were encountered: