Description Usage Arguments Value Examples
View source: R/rename-methods.R
Change the sim_name of a "stansim_simulation"
object.
1 2 | ## S3 method for class 'stansim_simulation'
rename(object, new_name)
|
object |
An object of S3 class stansim_simulation. |
new_name |
New object name. |
An S3 object of class stansim_simulation
.
1 2 3 4 5 | ## Not run:
# rename a stansim_simulation to "new simulation name"
rename(simulation, "new simulation name")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.