View source: R/survival_operations.R
apply_or | R Documentation |
Proportionally increase or reduce the odds of an event of a survival distribution.
apply_or(dist, or, log_or = FALSE)
dist |
A survival distribution. |
or |
An odds ratio to be applied. |
log_or |
If |
A surv_po
object.
dist1 <- define_surv_dist(distribution = "exp", rate = .25)
po_dist <- apply_or(dist1, 1.2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.