View source: R/icc.R View source: R/helper_estimates.R
icc | R Documentation |
This function will extract the variances from a mixed model and output the value of the ICC
This function will extract the variances from a mixed model and output the value of the ICC
icc(model)
icc(model)
model |
a lmer model |
Recall that the equation for the ICC is var(school)/[var(school)+ var(person)]. This forumla extracts the necessary variances from the mixed model and computes it.
Recall that the equation for the ICC is var(school)/[var(school)+ var(person)]. This forumla extracts the necessary variances from the mixed model and computes it.
the ICC
the ICC
Dustin Fife
data(alcuse)
require(lme4)
model = lmer(ALCUSE~1|ID, data=alcuse)
icc(model)
data(alcuse)
require(lme4)
model = lmer(ALCUSE~1|ID, data=alcuse)
icc(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.