roc_with_ci | R Documentation |
plot ROC with CI. Stratified bootstrap 2000 times
roc_with_ci(
label,
rs,
font = "Arial",
palette = "jama",
legend.pos = c(0.4, 0.2),
title = NULL,
fontsize = 16,
panel = NULL,
SE.SP = FALSE,
ci = TRUE
)
label |
True label |
rs |
Predicted score |
font |
Font |
panel |
panel的第一列为factor,event,class等 |
SE.SP |
Whether to show SE and SP instead of CI of AUC |
ci |
Default draw CI interval |
ggplot object
data("LIRI")
loonR::roc_with_ci(LIRI$status, LIRI$ANLN,
panel = data.frame(Evebt=LIRI$status, LIRI[,c(3,4)]) )
roc_with_ci(labels, rs,
font = "Arial",
palette = "jama_classic",
title = "HGD vs Healthy",
panel = data.frame(Evebt=labels, data)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.