Description Usage Arguments Value Note Author(s) See Also Examples
drop1.mlm
/ add1.mlm
performs a test for the suitability
of dropping / adding each term in scope from / to a multivariate
regression or manova model.
1 2 3 4 5 6 7 |
object |
a multivariate regression or manova object, possibly
with class |
scope |
see |
test |
a |
total |
logical specifying if the test for null model should also
be performed (and a |
add |
logical, not to be set typically; |
... |
potentially further arguments passed from or to methods;
for unused for |
a data.frame
matrix containing statistics for each term.
Note that regr
performs such a (Wilks) test automatically.
Bug: extract.AIC is not yet available
modification of R's summary.manova
by
Werner Stahel
1 2 3 4 5 6 7 8 9 10 | data(d.fossileSamples, package="plgraphics")
r.lm <-
lm(cbind(sAngle,lLength,rWidth) ~ SST+Salinity+lChlorophyll+Region+N,
data=d.fossileSamples)
drop1(r.lm) ## should be the same as summary(manova(...)) for its last row.
r.mregr <-
regr(cbind(sAngle,lLength,rWidth) ~ SST+Salinity+lChlorophyll+Region+N,
data=d.fossileSamples)
r.mregr$drop1
drop1(r.mregr, test="Pillai")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.