anova.lmm: Analysis of variance (sequential SS)

View source: R/lm.R

anova.lmmR Documentation

Analysis of variance (sequential SS)

Description

Wrapper for anova.lm in package stats that halts execution if unsupported input is detected.

Usage

## S3 method for class 'lmm'
anova(object, ...)

Arguments

object

object fitted by lm, lmer or similar.

...

possible additional argument to underlying functions.

Value

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

Author(s)

Kristian Hovde Liland

See Also

lm

Examples

mixlm <- lm(y~x*r(z),
			data = data.frame(y = rnorm(8),
							  x = factor(c(rep(1,4),rep(0,4))),
							  z = factor(rep(c(1,0),4))))
anova(mixlm)

mixlm documentation built on Aug. 8, 2023, 5:08 p.m.