
Last chance! 50% off unlimited learning
Sale ends in
Agree(x, tolerance = 0, na.rm = FALSE)
NA
values should be stripped before the computation proceeds. If set to TRUE
only the complete cases of the ratings will be used. Defaults to FALSE
.tolerance != 0
) is only possible for numerical values. If tolerance equals 1, for example, raters differing by one scale degree are interpreted as agreeing.CohenKappa
, KappaM
categ <- c("V", "N", "P")
lvls <- factor(categ, levels=categ)
rtr1 <- rep(lvls, c(60, 30, 10))
rtr2 <- rep(rep(lvls, nlevels(lvls)), c(53,5,2, 11,14,5, 1,6,3))
rtr3 <- rep(rep(lvls, nlevels(lvls)), c(48,8,3, 15,10,7, 3,4,2))
Agree(cbind(rtr1, rtr2)) # Simple percentage Agreement
Agree(data.frame(rtr1, rtr2)) # can be a data.frame
Agree(cbind(rtr1, rtr2, rtr3)) # Simple percentage Agreement
Agree(cbind(rtr1, rtr2), 1) # Extended percentage Agreement
Run the code above in your browser using DataLab