Learn R Programming

merTools (version 0.6.2)

modelInfo: Extract model information from a merMod

Description

Extract model information from a merMod

Usage

modelInfo(object)

Value

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

Arguments

object

a merMod object

Examples

Run this code
# \donttest{
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)
# }

Run the code above in your browser using DataLab