makeGlmer function

Create an artificial mixed model object

Create an artificial mixed model object

Make a merMod object with the specified structure and parameters.

makeGlmer(formula, family, fixef, VarCorr, data) makeLmer(formula, fixef, VarCorr, sigma, data)

Arguments

  • formula: a formula describing the model (see glmer).
  • family: type of response variable (see family).
  • 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: data.frame of explanatory variables.
  • sigma: residual standard deviation.
  • Maintainer: Peter Green
  • License: GPL (>= 2)
  • Last published: 2023-04-13