rpwesurv | R Documentation |
Generate data from Piecewise Exponential hazard model
rpwesurv(N, effects = rep(1, N), rates, tgrid)
N |
number of observations. |
effects |
the linear predictor |
rates |
exponential rates. |
tgrid |
time grid. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.