simDat {rocTree} | R Documentation |
Simulated dataset for demonstration
Description
A simulated data frame with variables
- id
subjects identification
- Time
observation times
- death
event/death indicator; 1 = an event (death) is recorded
- z1
baseline covariate generated from a standard uniform distribution
- z2
baseline covariate generated from a standard uniform distribution (independent from
z1
Format
A data frame with 5050 rows and 5 variables.
Details
The sample dataset is generated by set.seed(1); simu(100, 0, 1.3)
.
See simu
for details of the simu
function.
[Package rocTree version 1.1.1 Index]