as.multicomp {HH}R Documentation

Support functions in R for MMC (mean–mean multiple comparisons) plots.

Description

MMC plots: functions used to interface the simint in R to the MMC functions designed with S-Plus multicomp notation. These are all internal functions that the user doesn't see.

Usage

as.multicomp(x, ...)

as.multicomp.hmtest(x,
                    group="group",
                    focus=x$FNAMES$mainF,
                    ylabel=x$FNAMES$response,
                    lmcall=x$call,
                    means,
                    lmat=t(x$cmatrix),
                    lmat.rows=seq(along=dimnames(lmat)[[1]])[-1],
                    aov.mca,
                    ...)

print.mmc.multicomp(x, ...)

plot.multicomp(x, ...)

as.hmtest(x, ...)

as.hmtest.multicomp(x, eps=.001, ...)

Arguments

x "hmtest" object for as.multicomp. A "mmc.multicomp" object for print.mmc.multicomp. A "multicomp" object for as.hmtest and plot.multicomp.
... other arguments.
group Not currently used
focus See whichf in simint
ylabel response variable name on the graph.
lmcall Not currently used
means means of the response variable on the focus factor.
lmat, lmat.rows simint.mmc
aov.mca "aov" object for the same model formula.
eps absolute error tolerance as double. See simint.

Value

as.multicomp is a generic function to change its argument to a "multicomp" object.
as.multicomp.hmtest changes an "hmtest" object to a "multicomp" object.
print.mmc.multicomp prints a "mmc.multicomp" object.

Note

The multiple comparisons calculations in R and S-Plus use completely different libraries. MMC plots in R are based on simint. MMC plots in S-Plus are based on multicomp. The MMC plot is the same in both systems. The details of gettting the plot differ.

Author(s)

Richard M. Heiberger <rmh@temple.edu>

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.

Heiberger, R.~M. and Holland, B. (2006, accepted). "Mean–mean multiple comparison displays for families of linear contrasts." Journal of Computational and Graphical Statistics.

See Also

mmc, simint.mmc, simint in R, multicomp in S-Plus.


[Package HH version 1.5 Index]