A simulated dataset containing 3 068 observations (2 268 events) in 800 patients with heart failure. The dataset is based on hfaction_cpx12 dataset from package WA. The variables are as follows:
id. patient identifcation number
treatment. treatment=0 for control and treatment=1 for exercise training
t0. beginning of follow-up for a given event
t1. end of follow-up for a given event (up to 3.27 years)
enum. event identification number for a given patient (between 1 and 6 events per patient)
event. event indicator (1 for hospitalization, 0 for censored)
data(HeartFailure)
A data frame with 3 068 rows and 6 variables