Anova.lme | R Documentation |
This is a wrapper to anova.lme
from package nlme
and is coded similar to Anova
from car as it
produces marginal tests by default.
## S3 method for class 'lme'
Anova(mod, type = c("marginal", "sequential"), ...)
mod |
linear mixed model fitted with package nlme. |
type |
type of anova, either marginal (default) or sequential. |
... |
further arguments to be passed to |
Anova
(package car)
## Example requires package nlme to be installed and loaded
if (require("nlme")) {
## Load data set Orthodont
data(Orthodont, package = "nlme")
## Fit a model for distance with random intercept for Subject
mod <- lme(distance ~ age + Sex, data = Orthodont, random = ~ 1 | Subject)
Anova(mod)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.