sim.cureph.data {curephEM} | R Documentation |
cureph
A simulated data for cureph
example.
data("sim.cureph.data")
cureph.simgen()
A data frame with 200 observations on the following 7 variables.
time
entry time.
time2
exit time.
event
binary event indicator.
Z1
numerical vector.
Z2
factor with levels '0' and '1'.
Z3
factor with levels 'A', 'B' and 'C'.
Z4
factor with levels '0', '1' and '2', colinear with Z2
and Z3
.
attr(,"true.coef")
the true coefficients.
attr(,"true.surv0")
the true baseline survival function.