I have a plot that I'm creating using the following code:
p <- ggplot(flexbooks, aes(x=SchoolYear, y=Count,fill=Type)) + geom_bar(stat="identity") +
geom_text(data=flexbooks,aes(label=Count),vjust=-1,hjust=0.5)
p
I get the following plot:
I would like to flip the numbers here. The ones shown on top have to be at the bottom and vice-versa.
Any help would be appreciated. Thanks.