Calculate all binary confusion matrix indices
confmatr_by_threshold(
test_vec,
true_vec,
...,
threshold = 0.5,
pos_val = 1,
prepend = "",
cols = dplyr::everything()
)dataframe of confusion matrix indices
<double> Vector of probabilities
<integer> Vector true values
For future extension
<double> Number that defines probability as positive.
<integer> Positive value in true_vec
<character> Prepend column names with this to prevent name conflicts