HH (version 2.3-27)

glhtWithMCP.993: Retain averaging behavior that was previously available in glht.

Description

For some ANOVA models with two or more factors, we need to average over interaction terms. These functions use an older version of glht.mcp and mcp2matrix to do that averaging.

Usage

glhtWithMCP.993(model, linfct, ...)
mcp2matrix.993(model, linfct)
mcp2matrix2(model, linfct, `interaction_average`=FALSE, `covariate_average`=FALSE)

Arguments

model, linfct, ...
See glht
interaction_average, covariate_average
Logical, default FALSE.

Value

Details

mcp2matrix is taken from from multcomp_0.993-2.tar.gz/R/mcp.R. mcp2matrix2 is styled after mcp2matrix in multcomp_1.0-7, with optional averaging of interactions based on multcomp_0.993-1. In addition it offers optional averaging of covariates to get the same answer as S-Plus multicomp. With the default value of both new arguments at FALSE, mcp2matrix2 behaves exactly like mcp2matrix. glhtWithMCP.993 is based on glht.mcp in multcomp_1.0-0/R/glht.R with the call to mcp2matrix replaced by a call to mcp2matrix.993.

See Also

MMC