[R] index.cond in xyplot

From: Taka Matzmoto <sell_mirage_ne_at_hotmail.com>
Date: Thu 10 Aug 2006 - 12:39:57 EST

Dear R-users

I have 5 dependent variables (y1 to y5) and one independent variable (x) and 3 conditioning variables (m, n, and 0). Each of the conditioning variables has 2 levels. I created 2*4 panel plots.

xyplot(y1+y2+y3+y4+y5 ~ x | m*n*o,layout = c(4,2))

I would like to reorder the 8 panels. I tried to use index.cond (e.g., index.cond = list(c(1,3,2,4,5,7,6,8)) but it didn't work out. I got a error message "Error in cond.orders(foo) : Invalid value of index.cond". Please let me know if I didn't use index.cond argument properly.

I looked at the example in R-help but all examples have just only one conditioning variable.

Is there any way I can arrange the panels in whatever order I want ?



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 Thu Aug 10 12:43: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 Thu 10 Aug 2006 - 14:20:27 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.