Change the collection_name value of a \ code"stansim_collection" object.

# S3 method for stansim_collection
rename(object, new_name)

Arguments

object

An object of S3 class stansim_collection.

new_name

New object name. Must be of type character.

Value

An S3 object of class stansim_collection.

Examples

# NOT RUN {
# rename a stansim_collection to "new collection name"
rename(collection, "new collection name")
# }