Description Usage Arguments Value
Generates an AUC plot. Can compare two different fields against each other if needed. Can plot either FPR vs TPR columns or Truth vs prediction value(s). Adds the AUC alues to the plots.
1 2 |
dataset |
dataset |
fpr_or_truth |
fpr value or truth. Default is expecting a 0/1 truth value. |
tpr_or_pred |
fpr or prediction value. Default expects a prediction value. |
pred_2nd_model |
Default is NULL. If you wish to compare two plots side-by-side, then you must use truth & prediction values. |
title |
plot title |
metrics_precalculated |
FALSE by default. This means expects a 0/1 truth_or_fpr and a score in the pred_or_tpr. Set to TRUE if you already know that the FPR and TPR are already calculated for you. |
add_text |
add text to plot? Default is true. |
Returns a plot of the AUC-values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.