Re: [R] Boxplot Help: Re-ordering the x-axis

From: Richard M. Heiberger <rmh_at_temple.edu>
Date: Fri 18 Aug 2006 - 05:06:17 EST


month.name
class(month.name)
character"
tmp <- data.frame(m=rep(month.name, 2), y=rnorm(24)) bwplot(y ~ m, data=tmp)

tmp <- data.frame(m=ordered(rep(month.name, 2), levels=month.name), y=rnorm(24)) bwplot(y ~ m, data=tmp)



R-help@stat.math.ethz.ch 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. Received on Fri Aug 18 05:20:24 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 18 Aug 2006 - 08:23:08 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.