[R] reorder x-axis

stephen sefick ssefick at gmail.com
Mon Mar 10 18:30:24 CET 2008


read.table("bug.txt", header=TRUE)
plotMeans(bug$tot, bug$station, error.bars="se", main="Total")

The plot is ordered in this way HC RM190 RM198 RM202.
I would like it to plot in this way HC RM202 RM198 RM190.

thanks
Stephen

Is this okay or would you like the data to be copied and pasted into
the message body.  I am trying to optimize my postings.

-- 
Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods.  We are mammals, and have not exhausted the
annoying little problems of being mammals.

								-K. Mullis
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug.txt
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20080310/e5f41850/attachment.txt 


More information about the R-help mailing list