[R] How to rearrange lattice graphics output?

From: Weidong Gu <wgu_at_uab.edu>
Date: Mon, 7 Jan 2008 11:43:31 -0600


My question arises when I use levelplot graphics. For example,  

levelplot(z~x*y|fg) where fg is a factor with three levels of 'a','b','c'. The panels come out in a default order. I would like to rearrange the panels in a manner of 'c','b','a'. I used

fg<-ordered(fg, levels=c('c','b','a'))

But the panels are still the same.  

I would appreciate any help...  

Weidong Gu

UAB           [[alternative HTML version deleted]]



R-help_at_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. Received on Tue 08 Jan 2008 - 09:26:12 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 08 Jan 2008 - 12:30:05 GMT.

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

list of date sections of archive