apply_hr | R Documentation |
Apply hazard ratio to a distribution to proportionally reduce or increase the hazard rate.
apply_hr(dist, hr, log_hr = FALSE)
dist |
a survival distribution |
hr |
a hazard ratio to be applied to survival distribution |
log_hr |
optional argument (defaults to |
A surv_ph
object.
ph_dist <- apply_hr(
define_surv_param("exp", rate = 0.25),
0.5
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.