anovax: anova like function

View source: R/anovax.R

anovaxR Documentation

anova like function

Description

anova like function

print anovax object

Usage

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

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

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

## S3 method for class '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)

Søren Højsgaard

Examples

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))


pbkrtest documentation built on June 8, 2025, 11:20 a.m.