Competing risks model for simulation
Competing risks model for simulation
crModel()
Create a competing risks model with to causes to simulate a right censored event time data without covariates
This function requires the lava
package.
A structural equation model initialized with four variables: the latent event times of two causes, the latent right censored time, and the observed right censored event time.
Thomas A. Gerds
library(lava) m <- crModel() d <- sim(m,6) print(d)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.