[R] Layout of mulitpage conditioned lattice plots

Dieter Menne dieter.menne at menne-biomed.de
Sun Dec 19 19:49:01 CET 2010



djmuseR wrote:
> 
> 
> If I read your intention correctly, you need a third element in layout = .
> 
> df <- data.frame(month = rep(month.abb, each = 20),
>                   time = rep(1:20, 12),
>                   y = rnorm(240))
> xyplot(y ~ time | month, data = df, layout = c(2, 2, 3))
> 
> This produces 3 pages of 2 x 2 plots.
> 

Not really. Note that my example is conditioned on 2 variables, and the
layout on the first page is the correct one, and by design I use nsubj=13 to
show what happens if a page is not filled.

Dieter


-- 
View this message in context: http://r.789695.n4.nabble.com/Layout-of-mulitpage-conditioned-lattice-plots-tp3094581p3094724.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list