View source: R/survival_define.R
define_survival | R Documentation |
Define a parametric survival distribution.
define_survival( 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_survival(distribution = "exp", rate = .5) define_survival(distribution = "gompertz", rate = .5, shape = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.