View source: R/utility_functions.R
Simulate event time with weibull hazard function for piecewise hazard ratios
1 | weibullsim_betapw(lambda,gamma,t,x,betas)
|
lambda |
lambda for event hazard function |
gamma |
gamma for event hazard function |
x |
design matrix |
betas |
covariates for design matrix |
t |
TIme windows for piecewise hazard ratios |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.