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.


partR2 documentation built on May 29, 2024, 2:29 a.m.