Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

partR2 (version 0.9.2)

model_overdisp: 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)

Value

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

Arguments

mod

merMod object.

dat

The underlying data.frame