jasp-stats / jasp-issues

This repository is solely meant for reporting of bugs, feature requests and other issues in JASP.
58 stars 29 forks source link

[Feature Request]: More complex raincloud plots #1757

Closed kevinvschie closed 3 months ago

kevinvschie commented 2 years ago

Description

You can only create very basic raincloud plots. For instance, for a within-between interaction (each factor having two levels; let's say time [pre to post] and treatment [A or B]) JASP creates two separate raincloud plots (separated by the indicated factor). However, ideally you'd want to have this all in one graph (instead of two). Related to this is that raincloud plots can only be created for designs with two factors. It is simply impossible to visualize a threeway interaction, because you always have to leave one factor out.

Purpose

better visualize the data

Use-case

No response

Is your feature request related to a problem?

No response

Describe the solution you would like

The ability to visualize data using raincloud plots for (a) designs more than two factors and (b) the ability to integrate raincloud plots in one graphs instead of having multiple separate ones.

Describe alternatives that you have considered

No response

Additional context

No response

iandol commented 2 years ago

Obviously it seems @jorvlan is perfect for this feature given https://github.com/jorvlan/raincloudplots :-) — it would indeed be truly wonderful to be able to have a GUI module interface to his flexible library to do 1x1 2x2 2x3 with the various great layout options he has provided as checkboxes… ❤️

This could be separated as a new module from the basic options already available in the standard modules to allow a more complete GUI without interrupting the ttest / anova etc options?

tomtomme commented 6 months ago

more ideas to implement this issue from @bjtrbjtr: "Ideally, assigning multiple factors to both separate plots and separate lines would be implemented (and, for separate lines, factors would be indicated such that one factor controlled line color, a second factor controlled solid/dashed/dotted/etc lines, a third factor controlled marker shape, and a fourth factor controlled open vs closed markers). But separate plots may be simpler to implement, and would be a great solution even if separate lines were not feasible." (Info transferred from #1754)

@jorvlan @vincentott However implementing 3x 4x etc. designs for descriptive line plots could be lower prio, because flexplot from visual modeling module can do this already. And implementing complete rainclouds for such big designs could be hard, so consider to maybe implement this for raincloud-parts (boxplots only, drops only, clouds only)

vincentott commented 6 months ago

The raincloudplots module Im working on can handle two factorial designs with varying levels. Thus, pre/post experimental/control is possible to visualize in one plot. Similarly, it should also handle a 4x3 design etc. I don´t think I will have the time to build something for designs with more than 2 factors.

On the other hand, the module will hopefully be released in the near future.

tomtomme commented 3 months ago

@kevinvschie The new raincloud module is now in 0.19 beta! To test it yourself you could get the latest beta from here: https://static.jasp-stats.org/Nightlies/ Please reopen if you think, that this does not solve the issue!!