packet.panel.bycolumn: lattice panel layout for multipage consistency

Description Usage Arguments Author(s) See Also Examples

Description

Gabor Grothendiek's solution in http://stackoverflow.com/questions/9654244/multipage-lattice-panel-arrangement

Usage

1
packet.panel.bycolumn(layout, condlevels, page, row, column, skip)

Arguments

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

Author(s)

Dieter Menne, dieter.menne@menne-biomed.de

See Also

packet.panel.default

Examples

 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))

dmenne/dmisc2 documentation built on Sept. 30, 2019, 9:41 a.m.