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
model is:
This argument is converted to its specific names at the
time that the model is fit. Other options and argument can be
set using set_engine()
. If left to its default
here (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.