Jason,

It seems that your version of psych may be outdated.
CRAN currently has version 1.0-88, in which wkappa is
listed as deprecated. Might be time to upgrade.

 -Peter Ehlers

On 2010-05-25 10:55, Jason Priem wrote:

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

______________________________________________
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