|
p + ggplot2::coord_flip() |
coord_flip is hard coded into the plot.means_by_group() function.
This means that the groups appear on what is visually the y axis and the means on the x axis (even though ggplot users know that the x and y are actually the opposite variables).
I have tried to re-coord_flip() but it doesn't work. I always end up with it appearing that the groups are the dependent variable.
Would you consider leaving the coord_flip option to the user? Otherwise I guess (unless you know how to re-flip) otherwise it should be in the documentation that this is how it will display.
see/R/plot.means_by_group.R
Line 57 in 5666f2c
coord_flip is hard coded into the plot.means_by_group() function.
This means that the groups appear on what is visually the y axis and the means on the x axis (even though ggplot users know that the x and y are actually the opposite variables).
I have tried to re-coord_flip() but it doesn't work. I always end up with it appearing that the groups are the dependent variable.
Would you consider leaving the coord_flip option to the user? Otherwise I guess (unless you know how to re-flip) otherwise it should be in the documentation that this is how it will display.