I am trying to reorder my chart so that >£30 appears at the end. This is my code:
female_data%>%
group_by(monthly_spending, Age)%>%
summarise(Number=n())%>%
mutate("Percentage"=Number/112*100)%>%
ggplot() + geom_col(aes(x=monthly_spending, y=Percentage, fill=Age))
I have tried fit_relevel but it cant find this function and i have also tried relevel which doesnt work for ordered factors