This package calculates intraclass correlation coefficient (ICC) for assessing reproducibility of interval-censored data with two repeated measurements. ICC is estimated by maximum likelihood from model with one fixed and one random effect (both intercepts). Help in model checking (normality of subjects' means and residuals) is provided.
Maintainer: Jelena Kovacic <email@example.com>
Kovacic J, Varnai VM. Reproducibility of grouped data assessed by intraclass correlation coefficient. Accepted for publication in Epidemiology.
1 2 3 4 5 6 7
# Data generation (grouped data) classes <- 1:6 class.limits <- cbind(classes-0.5,classes+0.5) r1 <- sample(classes,100,replace=TRUE) # first measurement r2 <- sample(classes,100,replace=TRUE) # second measurement summary(intervalICC(r1,r2,predefined.classes=TRUE,classes,class.limits)) # ICC estimation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.