taucov {mlmhelpr}R Documentation

Tau Covariance

Description

Quickly get the covariance and correlation between intercepts and slopes. By default, lme4 only displays the correlation.

Usage

taucov(model)

Arguments

model

A model fit using the lme4::lmer function

Value

A data frame with the intercept, randomly-varying variables, covariance, and correlation.

Examples


fit <- lme4::lmer(mathach ~ 1 + ses + (1 + ses|id), data=hsb, REML=TRUE)

taucov(fit)


[Package mlmhelpr version 0.1.0 Index]