Construct full data set with time-dependent covariate (TDC)
1 2 3 4 5 |
n |
Number of subjects to simulate. |
m |
the number of follow up intervals ( |
te |
the vector of timepoints at which the TDC was observed |
h0 |
A constant component of the baseline hazard. |
f0 |
A function of time |
fz |
A function of time |
fwindow |
A function of time |
rng_z |
RNG for TDC $z(t_e)$, a function of |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.