auc {Daim} | R Documentation |
This function computs the area under an ROC curve.
## S3 method for class 'numeric': auc(x, y, ...)
x |
sensitivity. |
y |
specificity. |
... |
additional parameters. |
a scalar number
data(Daim.data1) perform <- performDaim(Daim.data1$prob.oob, Daim.data1$labels, Daim.data1$prob.app) #### #### compute the .632+ estimation of the AUC. #### auc(perform$roc$sens632p,perform$roc$spec632p)