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

buildgls

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

...

Additional options to be passed to gls; for backward-compatibility reasons, will also accept buildmer control parameters, although those specified in buildmerControl will take precedence

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

Examples

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

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.