iRepro-package | R Documentation |
Calculates intraclass correlation coefficient (ICC) for assessing reproducibility of interval-censored data with two repeated measurements (Kovacic and Varnai (2014) <doi:10.1097/EDE.0000000000000139>). 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.
Package: | iRepro |
Type: | Package |
Version: | 1.2 |
Date: | 2023-07-13 |
License: | GPL-3 |
Jelena Kovacic
Maintainer: Jelena Kovacic <jkovacic@imi.hr>
Kovacic J, Varnai VM. Intraclass correlation coefficient for grouped data. Epidemiology 2014;25(5):769–770.
# 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.