Learn R Programming

lsasim (version 2.1.4)

intraclass_cor: Intraclass correlation

Description

Calculates the intraclass correlation of clustered data

Usage

intraclass_cor(tau2_hat, sigma2_hat)

Arguments

tau2_hat

estimate of the true between-class correlation

sigma2_hat

estimate of the true within-class correlation

References

Snijders, T. A. B., & Bosker, R. J. (1999). Multilevel Analysis. Sage Publications.

See Also

cluster_gen ?lsasim:::summary.lsasimcluster