# 4 subjects were rated by 3 raters in categories "1", "2" or "3"
# organize ratings as matrix with subjects in rows and raters in columns
m <- matrix(c("3", "2", "3",
"2", "2", "1",
"1", "3", "1",
"2", "2", "3"), ncol = 3, byrow = TRUE)
kappam_fleiss(m)
# show category-wise kappas -----
kappam_fleiss(m, detail = TRUE)
Run the code above in your browser using DataLab