A simulated data frame with variables
subjects identification
observation times
event/death indicator; 1 = an event (death) is recorded
baseline covariate generated from a standard uniform distribution
baseline covariate generated from a standard uniform distribution (independent from z1
A data frame with 5050 rows and 5 variables.
The sample dataset is generated by set.seed(1); simu(100, 0, 1.3)
.
See simu
for details of the simu
function.