View source: R/simulation-class.R
load_simulation | R Documentation |
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
.
load_simulation(name, dir = ".")
name |
a short name identifier. Must be alphanumeric. |
dir |
directory that contains "files" directory for this simulation |
new_simulation
save_simulation
sim <- new_simulation(name = "normal-example", label = "Normal Mean Estimation", dir = tempdir()) rm(sim) sim <- load_simulation("normal-example", dir = tempdir())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.