Kappa | R Documentation |
Kappa
calculates Kappa and (optionally) the associated standard deviation from a confusion matrix.
Kappa(CMX, st.dev = TRUE)
CMX |
a confusion matrix - output from |
st.dev |
a logical indicating whether the associated standard deviation should be calculated |
The Kappa statistic summarizes all the available information in the confusion matrix. Kappa measures the proportion of correctly classified units after accounting for the probability of chance agreement.
if st.dev
= FALSE, returns: Kappa
.
if st.dev
= TRUE, returns a dataframe where:
[1,1] | Kappa | |
[1,2] | Kappa.sd | standard deviation of Kappa |
Elizabeth Freeman eafreeman@fs.fed.us
cmx
, pcc
, sensitivity
, specificity
, auc
data(SIM3DATA) Kappa(cmx(SIM3DATA)) Kappa(cmx(SIM3DATA),st.dev=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.