setName-methods: Set the name of an object

Description Usage Arguments Value Examples

Description

Set the name of an object

Usage

1
2
3
4
setName(object, name)

## S4 method for signature 'Experiment'
setName(object, name)

Arguments

object

The object for which we want to set the name

name

The name we want to give at the object

Value

The object with the new name

The object with the new name

Examples

1
2
3
4
5
6
exp <- new(Class="Experiment",
 databases=list(1),
 date=Sys.Date(),
 name="test")
 
exp <- setName(exp, "example")

rricepackage/rRice documentation built on May 24, 2019, 2:53 p.m.