`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

`drop1.regr`

, `drop1.lm`

1 2 3 4 5 6 7 8 9 10 | ```
data(d.fossiles)
r.lm <-
lm(cbind(sAngle,lLength,rWidth) ~ SST.Mean+Salinity+lChlorophyll+region+N,
data=d.fossiles)
drop1(r.lm) ## should be the same as summary(manova(...)) for its last row.
r.mregr <-
regr(cbind(sAngle,lLength,rWidth) ~ SST.Mean+Salinity+lChlorophyll+region+N,
data=d.fossiles)
r.mregr$drop1
drop1(r.mregr, test="Pillai")
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.