rename: Rename a stansim object

Description Usage Arguments Value

View source: R/rename-methods.R

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.


rstansim documentation built on Sept. 22, 2017, 1:06 a.m.