rename: Rename a stansim object

Description Usage Arguments Value

Description

Generic function for renaming rstansim objects.

Usage

1
rename(object, new_name)

Arguments

object

An S3 object of class stansim_simulation or stansim_collection.

new_name

New object name.

Value

A stansim S3 object.


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