On Jul 28, 2011, at 10:51 PM, Jeff Zhang wrote:

Hi all,

I wan to make a bar chart for a one-way table, but it seems the bar is in the order of alphabet which is my expectation, how can I adjust the order of
the one-way table.

Make it a factor with the desired order in its levels.

?factor


--
David Winsemius, MD
West Hartford, CT

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to