load_simulation: Load a simulation object

Description Usage Arguments See Also Examples

Description

Loads an object of class Simulation. Note that dir gives the directory where the Simulation object is stored. Thus, if the working directory is different from the working directory when the Simulation object was created, then dir will be different from the one passed to new_simulation.

Usage

1

Arguments

name

a short name identifier. Must be alphanumeric.

dir

directory that contains "files" directory for this simulation

See Also

new_simulation save_simulation

Examples

1
2
3
4
5
sim <- new_simulation(name = "normal-example",
                       label = "Normal Mean Estimation",
                       dir = tempdir())
rm(sim)
sim <- load_simulation("normal-example", dir = tempdir())


Search within the simulator package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.