Learn R Programming

pbkrtest (version 0.5.4)

anovax: anova like function

Description

anova like function

print anovax object

Usage

anovax(object, ..., test = "x2", control = list(nsim = 1000, cl = NULL))

# S3 method for lmerMod anovax(object, ..., test = "x2", control = list(nsim = 1000, cl = NULL))

# S3 method for default anovax(object, ..., test = "x2", control = list(nsim = 1000, cl = NULL))

# S3 method for anovax print(x, ...)

Arguments

object

A model object object

...

further arguments

test

A character string

control

A list controling simulations, only relevant for parametric bootstrapping.

x

anovax object

Author

Søren Højsgaard

Examples

Run this code
lmm1 <- lmer(sugpct ~ block + sow + harvest + (1|block:harvest), data=beets)
lmm0 <- update(lmm1, .~. - sow)
anovax(lmm1, .~. - harvest, test="KR")
anovax(lmm1, .~. - harvest, test="SAT")
## anovax(lmm1, .~. - harvest, test="PB", control=list(nsim=50, cl=1))

anovax(lmm1, test="KR")
anovax(lmm1, test="SAT")
anovax(lmm1, test="PB", control=list(nsim=50, cl=1))

Run the code above in your browser using DataLab