Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

buildmer-class

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)

buildmer

Stepwise Elimination and Term Reordering for Mixed-Effects Regression

v1.9
FreeBSD
Authors
Cesko C. Voeten [aut, cre] (<https://orcid.org/0000-0003-4687-9973>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.