Simulate competing risks data
Simulate right censored competing risks data with two covariates X1 and X2. Both covariates have effect exp(1) on the hazards of event 1 and zero effect on the hazard of event 2.
This function calls
crModel, then adds covariates and finally calls
data.frame with simulated data
Thomas Alexander Gerds
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.