apply_af | R Documentation |
Apply an acceleration factor to proportionally increase or reduce the time-to-event of a survival distribution.
apply_af(dist, af, log_af = FALSE)
dist |
a survival distribution |
af |
an acceleration factor to be applied to survival distribution |
log_af |
optional argument (defaults to |
A surv_aft
object.
dist1 <- define_surv_param("exp", rate = 0.25)
aft_dist <- apply_af(dist1, 1.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.