coincidence.matrix {concord} | R Documentation |
calculates the coincidence matrix for Krippendorff's alpha.
coincidence.matrix(x)
x |
classifier by object matrix of classifications |
probably of no use by itself.
statistic |
always NA - value is calculated by kripp.alpha |
coincidence.matrix |
the concordance/discordance matrix used in the calculation of alpha |
data.values |
a character vector of the original data values |
nmatchval |
the count of matches, used in calculation |
data.level |
the data level is specified by kripp.alpha |
This is the initial step in calculating Krippendorff's alpha coefficient.
Jim Lemon
Krippendorff, K. (1980) Content analysis: An introduction to its methodology. Beverly Hills, CA: Sage.
# the "C" data from Krippendorff nmm<-matrix(c(1,1,NA,1,2,2,3,2,3,3,3,3,3,3,3,3,2,2,2,2,1,2,3,4,4,4,4,4, 1,1,2,1,2,2,2,2,NA,5,5,5,NA,NA,1,1,NA,NA,3,NA),nrow=4) coincidence.matrix(nmm)