A Simulation object is the basic unit of a simulation study. Roughly, one
can think of it as all the files relevant to a single figure. This might be
a single plot or a series of related plots/panels. It could also correspond
to a single table. Note that a Simulation object is light-weight even for
large simulations because it only stores references to the objects
not the objects themselves. The functions model
,
draws
, output
, evals
can be used
to load individual objects of a simulation.
The Simulation object created is saved to a file so that it can be loaded
in a new R session. The simulation is saved in dir/files/name.Rdata. Note:
while "files" is the default, the name of this directory is from
getOption("simulator.files"), which is the value of
getOption("simulator.files") when the model was created.