Description Usage Arguments Details Value
Compute standard set of statistics from a confusion matrix based on classification results (including misclassification rate, sensitivity, specificity, precision, number of perennial and non-perennial stations correctly and incorrectly classified, total number of stations, and the predicted prevalence of flow intermittence compared to the observed prevalence).
1 | compute_confustats(in_gselpreds, ndigits = 2)
|
in_gselpreds |
data.table with a row for each record and two columns, 'truth' and 'response'. |
ndigits |
number of decimals to include in misclassification, sensitivity, specificity, and precision metrics. |
Formatted statistics for Extended Data Table 2 in Messager et al. (2021).
vector of statistics
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.