Description Usage Arguments Author(s) See Also Examples
Gabor Grothendiek's solution in http://stackoverflow.com/questions/9654244/multipage-lattice-panel-arrangement
1 | packet.panel.bycolumn(layout, condlevels, page, row, column, skip)
|
layout |
the layout argument in high level functions, suitably standardized. |
condlevels |
a list of levels of conditioning variables, after relevant permutations and/or reordering of levels |
page |
location of panel on page |
row |
location of panel in row |
column |
the location of the panel in the coordinate system columns |
skip |
the skip argument in high level functions |
Dieter Menne, dieter.menne@menne-biomed.de
1 2 3 4 5 6 7 8 9 10 | library(lattice)
library(latticeExtra)
d <- expand.grid(f1 = as.factor(letters[1:8]),
f2 = as.factor(LETTERS[1:3]),
x = 0:10)
d$y <- rnorm(nrow(d))
p <- xyplot(y~x|f1+f2, data=d, cex=0.5, pch=16)
p <- useOuterStrips(p)
p <- update(p, layout=c(5,3)) # plotting from here on gives a warning
suppressWarnings(plot(p, packet.panel=packet.panel.bycolumn))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.