model_overdisp {partR2}R Documentation

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

Description

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

Usage

model_overdisp(mod, dat, olre)

Arguments

mod

merMod object.

dat

The underlying data.frame

Value

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


[Package partR2 version 0.9.2 Index]