Learn R Programming

merTools (version 0.5.0)

modelFixedEff: 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

Value

a data.frame of the averaged fixed effect parameters

Details

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

Examples

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab