cardSim {LocalControl} | R Documentation |
Simulated cardiac medication data for survival analysis
Description
This dataset was created to demonstrate the effects of Local Control on correcting bias within a set of data.
Format
A data frame with 1000 rows and 6 columns:
- id
Unique identifier for each row.
- time
Time in years to the outcome specified by status.
- status
1 if the patient experienced cardiac arrest. 0 if censored before that.
- drug
Medication the patient received for cardiac health (drug 1 or drug 0).
- age
Age of the patient, ranges from 18 to 65 years.
- bmi
Patient body mass index. Majority of observations fall between 22 and 30.
Author(s)
Lauve NR, Lambert CG
[Package LocalControl version 1.1.3 Index]