Description Usage Arguments Value See Also Examples
This function computes the area under an ROC curve.
1 2 |
x |
vector consisting of sensitivities of a classification procedure/diagnostic test for several cutpoints. |
y |
vector consisting of specificity of a classification procedure/diagnostic test for several cutpoints. |
... |
additional parameters. |
a scalar number, the area under the ROC curve.
1 2 3 4 5 6 7 8 9 | data(Daim.data1)
perform <- performDaim(Daim.data1$prob.oob, Daim.data1$labels,
Daim.data1$prob.app)
####
#### compute the 0.632+ estimation of the AUC.
####
auc(perform$roc$sens632p, perform$roc$spec632p)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.