| pcc | R Documentation |
pcc calculates the percent correctly classified and (optionally) the associated standard deviation from a confusion matrix.
pcc(CMX, st.dev = TRUE)
CMX |
a confusion matrix - output from |
st.dev |
a logical indicating whether the associated standard deviation should be calculated |
Percent Correctly Classified is simply the proportion of test observations that are correctly classified.
if st.dev = FALSE, returns: PCC percent correctly classified.
if st.dev = TRUE, returns a dataframe where:
| [1,1] | PCC | percent correctly classified |
| [1,2] | PCC.sd | standard deviation of PCC |
Elizabeth Freeman eafreeman@fs.fed.us
cmx, sensitivity, specificity, Kappa, auc
data(SIM3DATA) pcc(cmx(SIM3DATA)) pcc(cmx(SIM3DATA),st.dev=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.