model_overdisp function

Adds an observational level random effect to a model, if applicable.

Adds an observational level random effect to a model, if applicable.

model_overdisp(mod, dat, olre)

Arguments

  • mod: merMod object.
  • dat: The underlying data.frame

Returns

list with three elements: merMod object with added OLRE, data.frame with added OLRE variable, and name of OLRE.

  • Maintainer: Martin A. Stoffel
  • License: GPL (>= 2)
  • Last published: 2024-03-04