[R] How to adjust the order of one-way table ?
David Winsemius
dwinsemius at comcast.net
Fri Jul 29 05:19:22 CEST 2011
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
More information about the R-help
mailing list