load_model {simulator} | R Documentation |
Load a model from file.
Description
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).
Usage
load_model(dir, model_name, more_info = FALSE, simulator.files = NULL)
Arguments
dir |
the directory passed to |
model_name |
the Model object's |
more_info |
if TRUE, then returns additional information such as
state of RNG after calling |
simulator.files |
if NULL, then |
Details
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.
See Also
[Package simulator version 0.2.5 Index]