Simulated data set consisting of two continuous markers, two discrete markers, treatment, and time-to-event status.
data(surv_tsdata)
A data frame with 1000 simulated observations reflecting the following clinical context. Marker Y for identifying a subset of women with estrogen-receptor positive breast cancer who do not benefit from adjuvant chemotherapy over and above tamoxifen. The clinical outcome of interest, termed "event", is 5-year breast cancer recurrence or death. Data come from a hypothetical randomized trial where subjects are randomly assigned to tamoxifen alone or tamoxifen plus chemotherapy and followed to ascertain this outcome; markers Y1 and Y2 are measured at baseline.
xi
a numeric vector specifying follow up time for right censored data.
di
a numeric vector indicating event status (1 for recurrence or death within 5 years, 0 for censoring)
Y
a numeric vector of marker values.
trt
a numeric vector indicating treatment status.
trtsel
for creating trtsel objects, plot.trtsel
for plotting risk curves and more, evaluate.trtsel
for evaluating marker performance, calibrate.trtsel
for assessing model calibration, and compare.trtsel
to compare two trtsel object.