sim.dat {CIFsmry} | R Documentation |
Simulated data with 100 subjects and 3 variates: time, cause and group.
The data has 100 rows and 3 columns.
a numeric vector. Survival time.
a numeric vector code. Survival status. 1: failure from the cause of interest; 2: failure from other causes; 0: censored.
a numeric vector code. 1: group 1; 2: group 2.
Simulated data
data(sim.dat) names(sim.dat) table(sim.dat$cause) table(sim.dat$group) tapply(sim.dat$time,sim.dat$group,summary)