powered by
Proportionally increase or reduce the time to event of a survival distribution.
apply_af(dist, af, log_af = FALSE)
A surv_aft object.
surv_aft
A survival distribution.
An acceleration factor to be applied.
If TRUE, the acceleration factor is exponentiated before being applied.
TRUE
dist1 <- define_surv_dist(distribution = "exp", rate = .25) aft_dist <- apply_af(dist1, 1.5)
Run the code above in your browser using DataLab