buildGLMMadaptive {buildmer} | R Documentation |
buildmer
to fit generalized linear mixed models using mixed_model
from package GLMMadaptive
Use buildmer
to fit generalized linear mixed models using mixed_model
from package GLMMadaptive
buildGLMMadaptive( formula, data = NULL, family, buildmerControl = buildmerControl(), ... )
formula |
A formula specifying both fixed and random effects using |
data |
See the general documentation under |
family |
See the general documentation under |
buildmerControl |
Control arguments for buildmer — see the general documentation under |
... |
Additional options to be passed to |
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.
# nonsensical model given these data if (requireNamespace('GLMMadaptive')) model <- buildGLMMadaptive(stress ~ vowel + (vowel|word), family=binomial,data=vowels,nAGQ=1)