Description Usage Arguments Details Value Author(s) Examples
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.
1 | SimCompRisk(N, ...)
|
N |
sample size |
... |
do nothing. |
This function calls crModel
, then adds covariates and finally calls sim.lvm
.
data.frame with simulated data
Thomas Alexander Gerds
1 2 | SimCompRisk(10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.