makeGlmer {simr} | R Documentation |
Create an artificial mixed model object
Description
Make a merMod
object with the specified structure and parameters.
Usage
makeGlmer(formula, family, fixef, VarCorr, data)
makeLmer(formula, fixef, VarCorr, sigma, data)
Arguments
formula |
a formula describing the model (see |
family |
type of response variable (see |
fixef |
vector of fixed effects |
VarCorr |
variance and covariances for random effects. If there are multiple random effects, supply their parameters as a list. |
data |
|
sigma |
residual standard deviation. |
[Package simr version 1.0.7 Index]