modelFixedEff: Extract averaged fixed effect parameters across a list of...

View source: R/merList.R

modelFixedEffR Documentation

Extract averaged fixed effect parameters across a list of merMod objects

Description

Extract averaged fixed effect parameters across a list of merMod objects

Usage

modelFixedEff(modList, ...)

Arguments

modList

an object of class merModList

...

additional arguments to pass to tidy

Details

The Rubin correction for combining estimates and standard errors from Rubin (1987) is applied to adjust for the within and between imputation variances.

Value

a data.frame of the averaged fixed effect parameters

Examples


sim_list <- replicate(n = 10,
        expr = sleepstudy[sample(row.names(sleepstudy), 180),],
        simplify=FALSE)
fml <- "Reaction ~ Days + (Days | Subject)"
mod <- lmerModList(fml, data = sim_list)
modelFixedEff(mod)


jknowles/merTools documentation built on Feb. 11, 2024, 5:07 a.m.