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)"
)
list
of timeROC::ipcwsurvivalROC
objects.
numeric(1)
, timepoints for ROC prediction
character
, colours
numeric
, line type
character(1)
, title
character(1)
, label x-axis
character(1)
, label y-axis
logical(1)
, plot legend?
double
, AUC