lm
.mm(formula, data = parent.frame(), fun = mean, drop = TRUE, ...)
&
.mean
.TRUE
.
NOT YET IMPLEMENTED.fun
doing the calculation.mm
returns an object of class groupwiseModel
. The functions
fitted.values
, residuals
, coefficients
, and summary
are useful for extracting various features of the value returned by mm
mm
is a sort of training function for lm
, meant to provide a
basis for discussing inference and introducing resampling in a simple, intuitive setting
of groupwise means. lm
provides a better, more general facility. When using
lm
to recreate the results of mm
, include all the interaction terms,
that is, use *
instead of &
. See the examples.lm
,
do