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