# repeatedly estimate agreement with goldstandard for simulated data
simulKappa(nRater = 8, cats = 3, nSubj = 11,
# assumed prob for classification by raters
probs = matrix(c(.6, .2, .1, # subjects of cat 1
.3, .4, .3, # subjects of cat 2
.1, .4, .5 # subjects of cat 3
), nrow = 3, byrow = TRUE))
Run the code above in your browser using DataLab