Description Usage Arguments Value See Also
View source: R/evaluate_discrimination.R
computes various discrimination error values, namely: sensitivity, specificity, accuracy, positive predictive value (ppv), negative predictive value (npv) and AUC
1 | evaluate_discrimination(actual, predicted, cutoff = NULL)
|
actual |
vector of observed class labels (0/1) |
predicted |
vector of uncalibrated predictions |
cutoff |
cut-off to be used for the computation of npv, ppv, sensitivity and specificity, Default: value that maximizes sensitivity and specificity (Youden-Index) |
list object with the following components:
sens |
sensitivity |
spec |
specificity |
acc |
accuracy |
ppv |
positive predictive value |
npv |
negative predictive value |
cutoff |
cut-off that was used to compute the error values |
auc |
AUC value |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.