Closed wwiecek closed 11 months ago
In ggplot (as always) the order of groups does not follow ordering of the legend, but is instead reversed, e.g.
ggplot
library(magrittr) bg1 <- baggr(schools) bg2 <- baggr(schools) baggr_compare(bg1, bg2) %>% plot()
The vertical ordering of colours should meet ordering of labels in the legend (simply reverse ordering of factor)
In
ggplot
(as always) the order of groups does not follow ordering of the legend, but is instead reversed, e.g.The vertical ordering of colours should meet ordering of labels in the legend (simply reverse ordering of factor)