Description Usage Arguments Details
Compute the area under the ROC curve
1 2 3 4 5 6 7 8 | computeAucFromDataFrames(
prediction,
status,
time = NULL,
confidenceInterval = FALSE,
timePoint,
modelType = "logistic"
)
|
prediction |
A vector with the predicted hazard rate. |
status |
A vector with the status of 1 (event) or 0 (no event). |
time |
Only for survival models: a vector with the time to event or censor (which ever comes first). |
confidenceInterval |
Should 95 percebt confidence intervals be computed? |
timePoint |
Only for survival models: time point when the AUC should be evaluated |
modelType |
Type of model. Currently supported are "logistic" and "survival". |
Computes the area under the ROC curve for the predicted probabilities, given the true observed outcomes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.