View source: R/survival_functions.R
boot_haz_np | R Documentation |
boot_haz_np
computes non-parametric bootstrap hazards from time-to-event data.Non-parametric hazard bootstrap
boot_haz_np
computes non-parametric bootstrap hazards from time-to-event data.
boot_haz_np(surv_data, time, status, Rx, B)
surv_data |
survival (time-to-event) data. |
time |
name of time variable in survival data (character variable). |
status |
name of status variable survival data (character variable). |
Rx |
treatment arm. |
B |
number of bootstrap samples. |
list of objects (time points, hazard, hazard CI, bootstrapped time points).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.