taucov | R Documentation |
Quickly get the covariance and correlation between intercepts and slopes. By default, lme4
only displays the correlation.
taucov(model)
model |
A model fit using the |
A data frame with the intercept, randomly-varying variables, covariance, and correlation.
fit <- lme4::lmer(mathach ~ 1 + ses + (1 + ses|id), data=hsb, REML=TRUE)
taucov(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.