R/survivaldata.R
survivaldata.RdA dataset containing the results of 100 patients with time-to-event outcome, the dataset is filled with treatment assignment and status (0 = censored, 1 = not censored).
data(survivaldata)
A data frame with 100 rows and 4 variables:
idPatient ID in the trial.
treatmentTreatment assignment for patients, 1 for treatment group 0 for control group.
timeThe follow up time for patients.
eventThe status indicator, normally 0=alive, 1=dead or 0 = no event, 1 = event occurred.
data(survivaldata)