When building boolean values with qplot in ggplot2, False values are always at the bottom, but most often I want True at the bottom to make it easier to read. Here is an example
y<-as.logical(rbinom(100,1,0.7)) x<-factor(rep(letters[1:2], each=50)) qplot(x,fill=y, geom='bar')
How can I get the values for TRUE at the bottom of the stack?
source share