survivaldata: Time-to-event dataset for analyzing adaptive Bayesian trials
Description
A 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).
Usage
data(survivaldata)
Arguments
Format
A data frame with 100 rows and 4 variables:
id
Patient ID in the trial
treatment
treatment assignment for patients, 1 for treatment group
0 for control group
time
the follow up time for patients
event
The status indicator, normally 0=alive, 1=dead or
0 = no event, 1 = event occurred