On Fri, Jul 23, 2010 at 10:02 AM, Eck, Bradley J
<brad....@mail.utexas.edu> wrote:
> Dear list:
>
> I'm using bwplot to compare concentrations by location and treatment as in:
>
> # using built in data
> bwplot( conc ~ Type : Treatment, data = CO2 )
>
> I would like the order of the plots to be: 3,4,1,2.   I can't seem to figure 
> this out with index.cond or permc.cond.
>
> Any help is appreciated!

I think the only way is to

(1) explicitly create the interaction variable

(2) re-create the factor using factor() with your desired levels

This should be done before the bwplot() call.

-Deepayan

______________________________________________
R-help@r-project.org 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