Change the sim_name of a "stansim_simulation" object.

# S3 method for stansim_simulation
rename(object, new_name)

Arguments

object

An object of S3 class stansim_simulation.

new_name

New object name.

Value

An S3 object of class stansim_simulation.

Examples

# NOT RUN {
# rename a stansim_simulation to "new simulation name"
rename(simulation, "new simulation name")
# }