Thanks for you quick responses, all!  Bill, it looks like that's just what I
want, but I'm not sure where you're getting the cohen.kappa() function. The
only function I could find by that name is in the concord library, and it
gives me:
> x<-c("red", "yellow", "blue", "red")  #coder number 1
> y<-c("red", "blue", "blue", "red") #coder number 2 
> ck <- cohen.kappa(cbind(x,y))   
Error in counts[i, j] <- sum(scores[i, ] == score.levels[j], na.rm = TRUE) : 
  subscript out of bounds
In addition: Warning messages:
1: NAs introduced by coercion 
2: NAs introduced by coercion 

wkappa in the psych lib gives me
Error in tr(x) : m must be a square matrix


-- 
View this message in context: 
http://r.789695.n4.nabble.com/Cohen-s-Kappa-for-beginners-tp2229658p2230348.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to