Learn R Programming

petersenlab (version 1.1.0)

lmeSummary: 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)

Value

Output summary of lme() model object.

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.

Examples

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

# Model Summary
summary(model)
lmeSummary(model)

Run the code above in your browser using DataLab