View source: R/km_wlr_calculations_helpers.R
| resampling_survival | R Documentation |
Performs resampling to generate survival curves for a group, used for constructing confidence bands.
resampling_survival(U, W, D, at.points, draws.band, surv, G_draws)
U |
Vector of observed times. |
W |
Vector of weights. |
D |
Vector of event indicators (0/1). |
at.points |
Vector of time points for evaluation. |
draws.band |
Number of resampling draws. |
surv |
Vector of survival estimates. |
G_draws |
Matrix of random draws for resampling. |
Matrix of resampled survival curves.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.