useOuterStripsT2L1
From HH v3.1-42
by Richard Heiberger
Three-factor generalization of latticeExtra::useOuterStrips
Three-factor generalization of latticeExtra::useOuterStrips
- Keywords
- dplot
Usage
useOuterStripsT2L1(x, ..., strip.height=.4, strip.names=c(TRUE, TRUE))
Arguments
- x
A
lattice
object withdim(x)==3
.- …
Additional arguments to be forwarded to the
strip.default
function.- strip.height
Height of each the strip for each factor. The number of factors in the top and left strips may not be the same. This argument is multiplied by the number of factors in each location and sent on to the lattice
par.settings
argument for thelayout.widths$strip.left
andlayout.heights$strip
components.- strip.names
See
strip.default
.
Value
A trellis
object with two factors in the top strip
and 1
factor in the strip.left
.
Examples
# NOT RUN {
tmp <- data.frame(A=rep(factor(letters[1:2]), each=12),
B=rep(factor(letters[3:5]), each=4, times=2),
C=rep(factor(letters[6:9]), times=6),
x=1:24,
y=1:24)
F <- xyplot(y ~ x | B*A*C, data=tmp,
panel=function(x, y, labels, ...) {
panel.text(x, y, matrix(1:24, 6, 4, byrow=TRUE)[panel.number()], ...)
},
layout=c(6, 4), between=list(x=c(.5, .5, 1.5), y=1))
F
useOuterStripsT2L1(F)
# }
Community examples
Looks like there are no examples yet.