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