Seems simple but i couldnt find a solution.
names(AllCoursesReg)
[1] "name" "Course" "Status"
My Code
ggplot(AllCoursesReg, aes(Course, fill = Status)) +
geom_bar(aes(order = Status), position = "dodge", colour = "black") + theme_bw()+
guides(fill = guide_legend(reverse = TRUE))
I just want the Registrants to be on the left not on the right. I have tried Order, level, factor, and it is not working
Thanks for your help.