On 7/13/07, gallon li <[EMAIL PROTECTED]> wrote:
> when producing boxplot from bwplot, I have five groups: Nitrogen, Duration,
> Pressure, A, Z. I wish the graphical display is according to the original
> order. But the R-function bwplot seems to automatically adjust the groups
> according to the alphabetic oder and thus creat a graph for A, Duration,
> Nitrogen, Pressure and Z. How can I specify the original order in bwplot?
>
> This also happens to the older function boxplot.

This has to do with how levels for a factor are computed by default.
help(factor) tells you how to specify your own levels.

-Deepayan

______________________________________________
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.

Reply via email to