alias(object, ...)## S3 method for class 'formula':
alias(object, data, \dots)
## S3 method for class 'lm':
alias(object, complete = TRUE, partial = FALSE,
partial.pattern = FALSE, \dots)
lm
or
aov
, or a formula for alias.formula
.class
"listof"
) containing components"mtable"
which has its own
print
method."lm"
, alias
is
most useful for experimental designs and so is used with fits from
aov
.
Complete aliasing refers to effects in linear models that cannot be estimated
independently of the terms which occur earlier in the model and so
have their coefficients omitted from the fit. Partial aliasing refers
to effects that can be estimated less precisely because of
correlations induced by the design.
Some parts of the "lm"
method require recommended package
op <- options(contrasts = c("contr.helmert", "contr.poly"))
npk.aov <- aov(yield ~ block + N*P*K, npk)
alias(npk.aov)
options(op) # reset
Run the code above in your browser using DataLab