When I run this ggplot2 code using With this dataset (download here)...
ggplot(data=P4L_melt, aes(variable, y=value)) + geom_boxplot(aes(fill=Species), alpha=0.7, lwd=0.5, outlier.shape=NA) + geom_point(position=position_jitterdodge(jitter.width=0),aes(group=Species, colour=Species), alpha=0.5)
It seems to be alright. As you can see, we have three groups (red, green, blue), with the respective observations overlapping the boxplots.
However, if we focus on the bottom left corner, where no red group exists, we see that the blue and green points are misaligned (in DC1, DC2, and DC3). How can I edit the code to solve this?

