buildmer-class {buildmer}R Documentation

The buildmer class

Description

This is a simple convenience class that allows ‘anova’ and ‘summary’ calls to fall through to the underlying model object, while retaining buildmer's iteration history. If you need to use the final model for other things, such as prediction, access it through the ‘model’ slot of the buildmer class object.

Slots

model

The final model containing only the terms that survived elimination

p

Parameters used during the fitting process

anova

The model's ANOVA, if the model was built with ‘anova=TRUE’

summary

The model's summary, if the model was built with ‘summary=TRUE’

See Also

buildmer

Examples

# Manually create a bare-bones buildmer object:
model <- lm(Sepal.Length ~ Petal.Length,iris)
p <- list(in.buildmer=FALSE)
library(buildmer)
bm <- mkBuildmer(model=model,p=p,anova=NULL,summary=NULL)
summary(bm)

[Package buildmer version 2.11 Index]