powered by
specificity calculates the specificity and (optionally) the associated standard deviation from a confusion matrix.
specificity
specificity(CMX, st.dev = TRUE)
if st.dev = FALSE, returns: specificity.
st.dev
if st.dev = TRUE, returns a dataframe where:
specificity.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
Specificity is the proportion of observed negatives correctly predicted, and reflects a model's ability to predict an absence given that a species actually does not occur at a location.
cmx, pcc, sensitivity, Kappa, auc
pcc
sensitivity
Kappa
auc
data(SIM3DATA) specificity(cmx(SIM3DATA)) specificity(cmx(SIM3DATA),st.dev=FALSE)
Run the code above in your browser using DataLab