modelInfo: Extract model information from a merMod

Description Usage Arguments Value Examples

View source: R/merList.R

Description

Extract model information from a merMod

Usage

1
modelInfo(object)

Arguments

object

a merMod object

Value

Simple summary information about the object, number of observations, number of grouping terms, AIC, and residual standard deviation

Examples

1
2
3
4
5
6
7
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)
modelInfo(mod[[1]])
lapply(mod, modelInfo)

merTools documentation built on June 5, 2018, 9:04 a.m.