One of the formula to calculate an intra-class correlation coefficient (ICC) is the following:
I would like to retrieve the value of each component in R in order to calculate the SEM using the following formula
However, the packages that can be used to calculate an ICC don't provide these values in their output. Here's a dataframe to test that out (4 judges, testing the inter-rater reliability):
library(psych)
df<-data.frame("J1"=c(9,6,8,7,10,6),"J2"=c(2,1,4,1,5,2),"J3"=c(5,3,6,2,6,4),"J4"=c(8,2,8,6,9,7))
ICC(df)
#or using irr package
library(irr)
icc(df)
The output from neither of these packages is satisfactory. Any advice?