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) ______________________________________________ [email protected] 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.
