| example_data {bonsaiforest} | R Documentation |
Example data
Description
A simulated data set for a realistic scenario of a clinical trial.
Usage
example_data
Format
A data.frame with 1000 rows and 14 columns:
-
id: Integer variable with the id of the patient. -
arm: Factor variable with 2 levels: control and treatment. -
x_1,x_2,x_3,x_4,x_5,x_6,x_7,x_8,x_9,x_10: Factor variables that represent covariates of the patients (e.g. sex, region, race, etc.). -
tt_pfs: Continuous variable with the progression free survival time of each patient. -
ev_pfs: Binary variable with the progression free survival status of each patient. 0 indicates that the event of interest did not happen and 1 indicates that it did.
Source
This is an artificial dataset.
[Package bonsaiforest version 0.1.0 Index]