This function calculates Cohen's kappa on a contingencyTable
or a codeSet
kappa(data)
data | A |
---|
The kappa of the contingencyTable
or codeSet
#Given a code set kappa(data = codeSet)#> [1] 0.625#Given a contingency Table kappa(data = contingencyTable)#> [1] 0.625