Use robyn_save()
to select and save as .RDS file the initial model.
robyn_save(
InputCollect,
OutputCollect,
robyn_object = NULL,
select_model = NULL,
dir = OutputCollect$plot_folder,
quiet = FALSE,
...
)# S3 method for robyn_save
print(x, ...)
# S3 method for robyn_save
plot(x, ...)
robyn_load(robyn_object, select_build = NULL, quiet = FALSE)
(Invisible) list with filename and summary. Class: robyn_save
.
(Invisible) list with imported results
List. Contains all input parameters for the model.
Required when robyn_object
is not provided.
List. Containing all model result.
Required when robyn_object
is not provided.
Character or List. Path of the Robyn.RDS
object
that contains all previous modeling information or the imported list.
Character. A model SolID
. When robyn_object
is provided, select_model
defaults to the already selected SolID
. When
robyn_object
is not provided, select_model
must be provided with
InputCollect
and OutputCollect
, and must be one of
OutputCollect$allSolutions
.
Character. Existing directory to export JSON file to.
Boolean. Keep messages off?
Additional parameters passed to robyn_outputs()
.
robyn_save()
output.
Integer. Default to the latest model build. select_build = 0
selects the initial model. select_build = 1
selects the first refresh model.