apply_or | R Documentation |
Apply an odds ratio to proportionally increase or reduce the odds of survival
apply_or(dist, or, log_or = FALSE)
dist |
a survival distribution |
or |
an odds ratio to be applied to survival distribution |
log_or |
optional argument (defaults to |
A surv_po
object.
dist1 <- define_surv_param("exp", rate = 0.25)
po_dist <- apply_or(dist1, 1.12)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.