powered by
ICC.lme calculates the intra-class correlation (ICC) from a fitted multi-level model using the 'nlme' package.
ICC.lme
# S3 method for lme ICC(model, ...)
A fitted model of type 'lme'.
Not currently implemented; used to ensure consistency with S3 generic.
The intra-class correlation of the model.
The ICC is the proportion of variance that is between-person variance. For more information, see Hoyt & Kenny (2013).
ICC.merMod
# NOT RUN { # iris data if (require(nlme, quietly=TRUE)) { model <- lme(Sepal.Width ~ 1, random=~1|Species, data=iris) ICC(model) # .49 of variance is between-subjects } # }
Run the code above in your browser using DataLab