panel.interaction2wt

0th

Percentile

Plot all main effects and twoway interactions in a multifactor design

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.

Keywords
aplot, design
Usage
panel.interaction2wt(x, y, subscripts,
                     responselab, trace.values,
                     factor.levels, factor.position,
                     fun = mean,
                     se,
                     ...,
                     box.ratio,
                     simple=FALSE,
                     simple.offset,
                     simple.scale,
                     data.x,
                     col.by.row=TRUE,
                     key.in=NULL)

strip.interaction2wt(which.given, which.panel, var.name,
                     factor.levels, shingle.intervals,
                     strip.names = c(TRUE, TRUE), style = 1, ...)
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
se
standard errors to be passed to panel.intxplot. se Missing, logical, or a numeric vector. If missing or FALSE, standard errors are not plotted. If TRUE, the standard errors are calculated
box.ratio
passed to panel.bwplot.intermediate.hh
...
extra arguments, primarily color, to be passed to panel.bwplot.intermediate.hh
key.in
arguments to be passed through to the key for the trace-factor in each row of the display.
factor.position
"position" attribute of factor.
simple
logical. TRUE if simple effects are to be displayed.
simple.offset, simple.scale
named list of offset and scale for the response and trace factors. See interaction.positioned for their use.
data.x
data.frame containing factors from the input data.frame
col.by.row
logical. If TRUE (the default), simple effects plots color the simple effects on the main diagonals in the same color as the trace levels in their row. If FALSE, then simple effects are colored to match the x levels in their
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
References

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.

See Also

interaction2wt, panel.bwplot.intermediate.hh

Aliases
  • panel.interaction2wt
  • strip.interaction2wt
Documentation reproduced from package HH, version 1.18-1, License: GPL version 2 or newer

Community examples

Looks like there are no examples yet.