Anova function

Analysis of variance with SS type II or III (including mixed models).

Analysis of variance with SS type II or III (including mixed models).

Replacement for Anova.lm in package car. This version adds support for random effects when needed. latin1

## S3 method for class 'lmm' Anova(mod, ...)

Arguments

  • mod: lm, aov, glm, multinom, polr

    mlm, coxph, lme, mer, svyglm or other suitable model object.

  • ...: do not use.

Returns

Returns appropriate analysis of variance or halts if unsupported input is detected.

Author(s)

John Fox jfox@mcmaster.ca . Extended by Kristian Hovde Liland.

See Also

Anova, print.AnovaMix, AnovaMix, lm

Examples

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")
  • Maintainer: Kristian Hovde Liland
  • License: GPL (>= 2)
  • Last published: 2025-01-14