CIbootagreement.Rd
The confidence interval estimated around the proportion of agreement between 2 or more raters.
CIbootagreement(data, cat1 = NULL, cat2 = NULL, b = 1000, alpha = 0.05)
data.frame or table
A character indicating the category for which specific agreement should be obtained.
A character indicating the category to which the specific agreement should be compared, if left empty all other categories are used.
Number of bootstrap iterations.
Confidence level; default is 0.95.
A vector giving the lower and upper confidence limit around the probability.
df <- data.frame(r1=factor(c(1,0,1,0,0,1,1,0,0,0,1,1,0,1,1)),
r2=factor(c(1,1,1,1,0,1,1,0,0,0,1,1,0,1,0)),
r3=factor(c(1,1,1,0,0,0,1,1,1,0,0,1,0,1,1)),
r4=factor(c(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1)))
CIbootagreement(data=df)
#> BCIlow.2.5% agreement.overall agreement
#> 0.5000000 0.6333333
#> BCIhigh.97.5%
#> 0.7669444