calcAUC | R Documentation |
This function computes the area under the receiver operating characteristic curve.
calcAUC(preds, y, fast = TRUE, sorted = FALSE)
preds |
Numeric vector of predicted scores |
y |
True binary outcomes coded as 0 or 1. Must be an integer vector. |
fast |
Shall the computation be as fast as possible? |
sorted |
Are the predicted scores already sorted increasingly? If so, this can slightly speed up the computation. |
The AUC between 0 and 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.