[R] order stacked bar plot from total frequency

Kai Yang y@ngk@|9999 @end|ng |rom y@hoo@com
Thu Sep 16 19:58:15 CEST 2021


Hello List,
I can order the general bar chart based on frequency, using ggplot2 with the code : aes((reorder(Var1, Freq)), Freq)) 
I don't know how to order stacked bar plot by total frequency
Can you give me some of example?
Thank you
Kai

	[[alternative HTML version deleted]]



More information about the R-help mailing list