
ggplot2 graph
I would like to make it so the levels in the factor "Age", are in order. Originally they are in the order, Mature, Old, Young. I attempted to rectify this by using "dat$Age <- relevel(dat$Age, ref = "Young")" But this did not seem to fully work as in the graph you can see two keys with only 1 in order.
Any help would be appreciated.