
Draw time to Event custom function
draw_tte_new_warden.Rddraw_tte_new_warden() adds additional capability for the modelling of the UK life tables
Usage
draw_tte_new_warden(
n_chosen,
dist,
coef1 = NULL,
coef2 = NULL,
coef3 = NULL,
hr = 1,
time = NULL,
...,
beta_tx = 1,
seed = NULL
)Details
Adaptation of WARDEN::draw_tte() to include piece wise exponential distributions Utilizing hesim::rpwexp()