Change the collection_name value of a \ code"stansim_collection" object.
# S3 method for 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
.
# NOT RUN { # rename a stansim_collection to "new collection name" rename(collection, "new collection name") # }