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

View source: R/stats_helpers.R

model_overdispR 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.


mastoffel/partR2 documentation built on March 9, 2024, 1:16 p.m.