Description Usage Arguments Details Value Examples
Given a receiver operating characteristic (ROC) curve, calculates the area under said curve (AUC).
1  | auc(fpr, tpr)
 | 
fpr | 
 A numeric vector, representing the false positive rate (FPR) of points on a ROC curve.  | 
tpr | 
 A numeric vector, representing the true positive rate (TPR) of
points on a ROC curve, assumed to be corresponding to those represented
in   | 
Arguments fpr and tpr must contain only values between
0 and 1, without any NA or NaN values, and must be the same length.
Otherwise, auc will throw an appropriate error.
The AUC.
1 2  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.