Description Usage Arguments Details Value Author(s) See Also Examples
Computes Area-under-the-ROC-curve
1 | auc(rocout)
|
rocout |
Matrix with two rows |
Operates on the output of roc
. The rows of the input matrix represent the False Positive Rates (FPR) and
corresponding True Positive Rates (TPR) at fixed thresholds.
Numeric. Interpolated Area-under-the-ROC-curve.
Mark A. van de Wiel
ROC-curves: roc
. creating multiple partitions: CreatePartition
.
Examples: grridge
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # Load data objects
data(dataFarkas)
## In this example, we provide one partition only
## see "CreatePartition" for examples in creating multiple partitions
firstPartition <- CreatePartition(CpGannFarkas)
# grFarkas <- grridge(datcenFarkas,respFarkas, firstPartition,monotone=FALSE)
## Prediction of the grridge model to the training samples
#cutoffs <- rev(seq(0,1,by=0.1))
#fakenew <- datcenFarkas
#yhat <- predict.grridge(grFarkas,fakenew)
#rocridgeF <- roc(probs=as.numeric(yhat[,2]),true=respFarkas[1:30],cutoffs=cutoffs)
#auc(rocridgeF)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.