modelInfo: Extract model information from a merMod

View source: R/merList.R

modelInfoR Documentation

Extract model information from a merMod

Description

Extract model information from a merMod

Usage

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


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)


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