powered by
Replacement for Anova.lm in package car. This version adds support for random effects when needed.
Anova.lm
car
# S3 method for lmm Anova(mod, ...)
Returns appropriate analysis of variance or halts if unsupported input is detected.
lm, aov, glm, multinom, polr mlm, coxph, lme, mer, svyglm or other suitable model object.
lm
aov
glm
multinom
polr
mlm
coxph
lme
mer
svyglm
do not use.
John Fox jfox@mcmaster.ca. Extended by Kristian Hovde Liland.
Anova, print.AnovaMix, AnovaMix, lm
Anova
print.AnovaMix
AnovaMix
dataset <- data.frame(y = rnorm(8), x = factor(c(rep(1,4),rep(0,4))), z = factor(rep(c(1,0),4))) mixlm <- lm(y~x*r(z), data = dataset) Anova(mixlm, type="III")
Run the code above in your browser using DataLab