Description Usage Arguments Value Author(s) Examples
Area under the ROC curve. Calculated in various ways.
Fastest is auc()
, currently set to aucRank()
.
RLoop()
only supports oriented=FALSE
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
y.hat |
numeric. risk between 0 and 1. |
y |
numeric. Status yes=1, no=0 or dead=1, alive=0. |
oriented |
logical. If FALSE (default) returned AUC always ≥ 0.5. |
... |
Pass arguments. If TRUE: Probability that higher y.hat correspond to higher y. |
numeric.
Andi Boeck
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | y.hat <- seq(0,1,length=100)
y <- rbinom(100, size=1, prob=1-y.hat)
aucRank(y=y, y.hat=y.hat, oriented=TRUE)
aucRLoop(y=y, y.hat=y.hat, oriented=TRUE)
aucPROC(y=y, y.hat=y.hat, oriented=TRUE)
aucHmisc(y=y, y.hat=y.hat, oriented=TRUE)
aucWilcox(y=y, y.hat=y.hat, oriented=TRUE)
aucRapply(y=y, y.hat=y.hat, oriented=TRUE)
aucPROC(y=y, y.hat=y.hat, oriented=FALSE)
aucRank(y=y, y.hat=y.hat, oriented=FALSE)
aucRLoop(y=y, y.hat=y.hat, oriented=FALSE)
aucHmisc(y=y, y.hat=y.hat, oriented=FALSE)
aucWilcox(y=y, y.hat=y.hat, oriented=FALSE)
aucRapply(y=y, y.hat=y.hat, oriented=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.