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