Learn R Programming

merTools (version 0.5.0)

REcorrExtract: Extract the correlations between the slopes and the intercepts from a model

Description

Extract the correlations between the slopes and the intercepts from a model

Usage

REcorrExtract(model)

Arguments

model

an object that inherits from class merMod

Value

a numeric vector of the correlations among the effects

Examples

Run this code
# NOT RUN {
fm1 <- lmer(Reaction ~ Days + (Days | Subject), sleepstudy)
REcorrExtract(fm1)
# }

Run the code above in your browser using DataLab