plot_roc: Plot IPCW ROC curve

View source: R/plot_roc.R

plot_rocR Documentation

Plot IPCW ROC curve

Description

Plot IPCW ROC curve for a prediction

Usage

plot_roc(time, delta, marker, wts = NULL, tao, method)

Arguments

time

vector of (censored) event-times

delta

vector of event indicators at the corresponding value of the vector time. Censored observations must be denoted by the value 0.

marker

vector of the marker values for which we want to compute the time-dependent ROC curve. the function assumes that larger values of the marker are associated with higher risks of events

wts

IPC weights

tao

evaluation time point of interest

method

IPCW or discard

Value

a plot IPCW ROC curve


pablogonzalezginestet/EnsBagg documentation built on Aug. 25, 2023, 3:22 a.m.