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
When I try to produce boxplots with colours depending on a categorical variable, these appear overlapping if varwidth is set to TRUE (which is what I'd like to use).
The main problem is here — within each species the variable-width boxes have different xmin values, so pos_dodge() gets called on each box separately when it should be getting called on each pair of boxes.
I think this line will also be a problem because only the width of the first box will be used. pos_dodge() probably needs to be changed to handle multiple widths.
When I try to produce boxplots with colours depending on a categorical variable, these appear overlapping if varwidth is set to TRUE (which is what I'd like to use).
Here's an example:
This raises the following warning: "position_dodge requires non-overlapping x intervals"
However, the boxes don't overlap (and no warning is raised) if varwidth is not specified.
The text was updated successfully, but these errors were encountered: