conf_matrix_df: Make a confusion matrix dataframe for multiple thresholds
Description
Create the confusion matrix for multiple thresholds, using to optimise tss
Usage
conf_matrix_df(presences, absences)
Value
A data.frame of thresholds with columns thres, tp, fp, fn,
and tn
Arguments
- presences
Probabilities for presences
- absences
probabilities for absences