After generate_model
has been called, this function can be used
to load the saved Model
object (along with the RNG state and
other information if desired).
load_model(dir, model_name, more_info = FALSE, simulator.files = NULL)
the directory passed to generate_model
)
the Model object's name
attribute
if TRUE, then returns additional information such as
state of RNG after calling generate_model
if NULL, then getOption("simulator.files")
will be used.
Depending on more_info
, either returns Model
object
or a list containing Model
object and other information.
If simulation object is available, it is easier to use the function
model
to load the model.
generate_model
model