powered by
Proportionally increase or reduce the odds of an event of a survival distribution.
apply_or(dist, or, log_or = FALSE)
A surv_po object.
surv_po
A survival distribution.
An odds ratio to be applied.
If TRUE, the odds ratio is exponentiated before being applied.
TRUE
dist1 <- define_surv_dist(distribution = "exp", rate = .25) po_dist <- apply_or(dist1, 1.2)
Run the code above in your browser using DataLab