powered by
pcc calculates the percent correctly classified and (optionally) the associated standard deviation from a confusion matrix.
pcc
pcc(CMX, st.dev = TRUE)
if st.dev = FALSE, returns: PCC percent correctly classified.
st.dev
PCC
if st.dev = TRUE, returns a dataframe where:
PCC.sd
a confusion matrix - output from cmx
cmx
a logical indicating whether the associated standard deviation should be calculated
Elizabeth Freeman eafreeman@fs.fed.us
Percent Correctly Classified is simply the proportion of test observations that are correctly classified.
cmx, sensitivity, specificity, Kappa, auc
sensitivity
specificity
Kappa
auc
data(SIM3DATA) pcc(cmx(SIM3DATA)) pcc(cmx(SIM3DATA),st.dev=FALSE)
Run the code above in your browser using DataLab