buildgls: Use 'buildmer' to fit generalized-least-squares models using...

buildglsR Documentation

Use buildmer to fit generalized-least-squares models using gls from nlme

Description

Use buildmer to fit generalized-least-squares models using gls from nlme

Usage

buildgls(formula, data = NULL, buildmerControl = buildmerControl())

Arguments

formula

See the general documentation under buildmer-package

data

See the general documentation under buildmer-package

buildmerControl

Control arguments for buildmer — see the general documentation under buildmerControl

Details

A workaround is included to prevent an error when the model matrix is of less than full rank. The summary output of such a model will look a bit strange!

See Also

buildmer-package

Examples

library(buildmer)
library(nlme)
vowels$event <- with(vowels,interaction(participant,word))
model <- buildgls(f1 ~ timepoint*following,data=vowels,
	buildmerControl=list(args=list(correlation=corAR1(form=~1|event))))

cvoeten/buildmer documentation built on March 3, 2023, 3:25 p.m.