View source: R/survival_define.R
define_surv_dist | R Documentation |
Define a parametric survival distribution.
define_surv_dist(
distribution = c("exp", "weibull", "weibullPH", "lnorm", "llogis", "gamma", "gompertz",
"gengamma", "gengamma.orig", "genf", "genf.orig"),
...
)
distribution |
A parametric survival distribution. |
... |
Additional distribution parameters (see respective distribution help pages). |
A surv_dist
object.
define_surv_dist(distribution = "exp", rate = .5)
define_surv_dist(distribution = "gompertz", rate = .5, shape = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.