lmeSummary {petersenlab}R Documentation

Summarize mixed effects model.

Description

Summarizes the results of a model fit by the lme() function of the nlme package.

Usage

lmeSummary(model, dig = 3)

Arguments

model

name of lme() model object.

dig

number of decimals to print in output.

Details

Summarizes the results of a model fit by the lme() function of the nlme package. Includes summary of parameters, pseudo-r-squared, and whether model is positive definite.

Value

Output summary of lme() model object.

Examples

# Fit Model
library("nlme")
model <- lme(distance ~ age + Sex, data = Orthodont, random = ~ 1 + age)

# Model Summary
summary(model)
lmeSummary(model)

[Package petersenlab version 1.0.0 Index]