rename.stansim_simulation: Rename a stansim_simulation object

Description Usage Arguments Value Examples

View source: R/rename-methods.R

Description

Change the sim_name of a "stansim_simulation" object.

Usage

1
2
## S3 method for class '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

1
2
3
4
5
## Not run: 
# rename a stansim_simulation to "new simulation name"
rename(simulation, "new simulation name")

## End(Not run)

Ewan-Keith/rstansim documentation built on May 6, 2019, 4:08 p.m.