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

Description Usage Arguments Value

View source: R/stats_helpers.R

Description

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

Usage

1
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 Jan. 18, 2021, 5:06 p.m.