setDate-methods: Set the date of an object

Description Usage Arguments Value Examples

Description

Set the date of an object

Usage

1
2
3
4
setDate(object, date)

## S4 method for signature 'Experiment'
setDate(object, date)

Arguments

object

The object for which we want to set the name

date

The date we want to give at the object

Value

The object with the new name

The object with the new date

Examples

1
2
3
4
5
6
7
exp <- new(Class="Experiment",
 databases=list(1),
 date=Sys.Date(),
 name="test")
 
 
exp <- setDate(exp, "12/18/2010")

Lagaillette/RRicePackage documentation built on May 29, 2019, 2:04 p.m.