You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have repeated measures data from subjects across multiple conditions, that I'd like to show as raw data points + boxplots. I am using a combination of g.stat_boxplot and g.geom_jitter for this.
I would also like to connect data points across these conditions, to help visually identify subjects. A bit like this:
The only such functionality I found in gramm was the 'geom',{'line', 'lines'} argument of g.stat_summary. However, that just connects the means/error bars, not the actual data points.
I could easily manually draw the lines myself in a for loop, however adding content to a gramm figure (with update) seems rather difficult/unstable.
Are you able to help? Thank you so much!
Tudor
The text was updated successfully, but these errors were encountered:
It's indeed kind of possible to do what you want with update() and providing your subjects as a 'group' variable in the update() call, and then using geom_line(). For now that is the only way I see do do that within gramm.
However, it won't work well with geom_jitter() because geom_line() doesn't know about the jitter.
Let me know if that helps, but here we are at the limit of what is possible within gramm, especially since update() is a kind of hack that only works in certain cases.
Dear Pier,
I have repeated measures data from subjects across multiple conditions, that I'd like to show as raw data points + boxplots. I am using a combination of g.stat_boxplot and g.geom_jitter for this.
I would also like to connect data points across these conditions, to help visually identify subjects. A bit like this:
The only such functionality I found in gramm was the 'geom',{'line', 'lines'} argument of g.stat_summary. However, that just connects the means/error bars, not the actual data points.
I could easily manually draw the lines myself in a for loop, however adding content to a gramm figure (with update) seems rather difficult/unstable.
Are you able to help? Thank you so much!
Tudor
The text was updated successfully, but these errors were encountered: