View source: R/survival_operations.R
apply_af | R Documentation |
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. |
log_af |
If |
A surv_aft
object.
dist1 <- define_surv_dist(distribution = "exp", rate = .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.