plot_surv_roc | R Documentation |
Generate ROC plots for a single timepoint for timeROC::timeROC()
objects
or for multiple timepoints.
plot_surv_roc(
x,
timepoint,
col = setNames(palette.colors(length(x)), names(x)),
lty = setNames(rep.int(1, length(x)), names(x)),
main = paste0("ROC at day ", timepoint),
xlab = "1 - Specificity",
ylab = "Sensitivity",
legend = TRUE
)
plot_surv_roc_trend(
x,
col = setNames(palette.colors(length(x)), names(x)),
lty = setNames(rep.int(1, length(x)), names(x)),
main = "AUROC over time",
xlab = "time t",
ylab = "AUC (t)"
)
x |
|
timepoint |
|
col |
|
lty |
|
main |
|
xlab |
|
ylab |
|
legend |
|
double
, AUC
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.