pcc: Percent Correctly Classified

Description Usage Arguments Details Value Author(s) See Also Examples

Description

pcc calculates the percent correctly classified and (optionally) the associated standard deviation from a confusion matrix.

Usage

1
pcc(CMX, st.dev = TRUE)

Arguments

CMX

a confusion matrix - output from cmx

st.dev

a logical indicating whether the associated standard deviation should be calculated

Details

Percent Correctly Classified is simply the proportion of test observations that are correctly classified.

Value

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

Author(s)

Elizabeth Freeman eafreeman@fs.fed.us

See Also

cmx, sensitivity, specificity, Kappa, auc

Examples

1
2
3
4
5


Search within the PresenceAbsence package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.