buildgamm4 {buildmer} | R Documentation |
Use buildmer
to fit generalized additive models using package gamm4
Description
Use buildmer
to fit generalized additive models using package gamm4
Usage
buildgamm4(
formula,
data = NULL,
family = gaussian(),
buildmerControl = buildmerControl()
)
Arguments
formula |
See the general documentation under |
data |
See the general documentation under |
family |
See the general documentation under |
buildmerControl |
Control arguments for buildmer — see the general documentation under |
Details
The fixed and random effects are to be passed as a single formula in lme4
format. This is internally split up into the appropriate fixed
and random
parts.
See Also
Examples
library(buildmer)
if (requireNamespace('gamm4')) model <- buildgamm4(f1 ~ s(timepoint,by=following) +
s(participant,timepoint,by=following,bs='fs'),data=vowels)
[Package buildmer version 2.11 Index]