panel.interaction2wt {HH} | R Documentation |
This is the panel function for interaction2wt
. The main diagonal
displays boxplots for the main effects of each factor. The
off-diagonals show the interaction plots for each pair of factors.
The i,j
panel shows the same factors as the j,i
but with
the trace- and x-factor roles interchanged.
panel.interaction2wt(x, y, subscripts, responselab, trace.values, factor.levels, fun = mean, ...) strip.interaction2wt(which.given, which.panel, var.name, factor.levels, shingle.intervals, strip.names = c(TRUE, TRUE), style = 1, ...)
panel.interaction2wt arguments
x |
levels of x-factor |
y |
Summary value of response variable at each level of x- and trace-factors. |
subscripts |
used to get the right set of response values for the summary statistics on the off-diagonals |
responselab |
Character name of response variable, defaults to the name of the response variable. |
trace.values |
levels of trace-factor |
fun |
Summary function, defaults to mean |
... |
extra arguments, primarily color,
to be passed to panel.bwplot.intermediate.hh |
which.given, which.panel, var.name, factor.levels,
shingle.intervals |
see documentation
for strip.default |
strip.names |
Force strip.names=TRUE |
style |
force style=1 |
Richard M. Heiberger <rmh@temple.edu>
Heiberger, Richard M. and Holland, Burt (2004b). Statistical Analysis and Data Display: An Intermediate Course with Examples in S-Plus, R, and SAS. Springer Texts in Statistics. Springer. ISBN 0-387-40270-5.
interaction2wt
,
panel.bwplot.intermediate.hh
anova(aov(len ~ supp*dose, data=ToothGrowth)) interaction2wt(len ~ supp + dose, data=ToothGrowth) bwplot(len ~ supp | dose, data=ToothGrowth, layout=c(3,1))