save_simulation: Save a simulation object

View source: R/simulation-class.R

save_simulationR Documentation

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


simulator documentation built on Feb. 16, 2023, 9:34 p.m.