Ordering of faceted stacked barplot with ggplot2
问题 I have a dataset like the below and am trying to get an ordered faceted stacked barplot. I have looked at some answers on SO particularly this one to come up with my plot but am not sure why this does not work on one particular bar of my stacked barplot structure(list(reg = c("J", "J", "J", "J", "J", "J", "J", "J", "KA", "KA", "KA", "KA", "KA", "KA", "KA", "KA", "KA", "KA", "RI", "RI", "RI", "RI", "SU", "SU", "SU", "SU", "SU", "SU", "SA", "SA", "SA", "SA", "SA", "SA", "SA", "SA", "SA", "SA",