Learn R Programming

simulator (version 0.2.5)

save_simulation: Save a simulation object

Description

Saves an object of class Simulation to sim@dir/files/sim@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.

Usage

save_simulation(sim)

Arguments

sim

an object of class Simulation

Details

This function overwrites any pre-existing file in that location without apology.

See Also

new_simulation load_simulation