survival_reg() is a way to generate a specification of a model
before fitting and allows the model to be created using
R. The main argument for the
dist: The probability distribution of the outcome.
This argument is converted to its specific names at the
time that the model is fit. Other options and argument can be
set_engine(). If left to its default
NULL), the value is taken from the underlying model
functions. If parameters need to be modified,
update() can be used
in lieu of recreating the object from scratch.
survival_reg(mode = "censored regression", dist = NULL)
A single character string for the type of model. The only possible value for this model is "censored regression".
A character string for the outcome distribution. "weibull" is the default.
The data given to the function are not saved and are only used
to determine the mode of the model. For
mode will always be "censored regression".
survival_reg()#> Parametric Survival Regression Model Specification (censored regression) #># Parameters can be represented by a placeholder: survival_reg(dist = varying())#> Parametric Survival Regression Model Specification (censored regression) #> #> Main Arguments: #> dist = varying() #>