Description Usage Arguments Value See Also Examples
This function computes the numeric value of area under the ROC curve (AUC) with the trapezoidal rule. It is a wrapper function around the pRoc function in the roc package
1 | findROC(Data, coeff)
|
Data |
a data matrix; in the first column there should be the binary response variable y. If you give the training dataset it will calculate the in-sample AUC. If supplied with a new dataset then it will return the predictive AUC. |
coeff |
vector of coefficients |
The area under the ROC curve, the sensitivity and specificity
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.