Make a merMod
object with the specified structure and parameters.
makeGlmer(formula, family, fixef, VarCorr, data)makeLmer(formula, fixef, VarCorr, sigma, data)
a formula describing the model (see glmer
).
type of response variable (see family
).
vector of fixed effects
variance and covariances for random effects. If there are multiple random effects, supply their parameters as a list.
data.frame
of explanatory variables.
residual standard deviation.