stacomiR (version 0.6.0.7)

getvalue,ref_period-method: Returns the POSIXt value of a given name

Description

Returns the POSIXt value of a given name

Usage

# S4 method for ref_period
getvalue(object, id)

Value

A character to be used in seq.POSIXt

Arguments

object

An object of class ref_period-class

id

one of 'jour', 'semaine', 'quinzaine', 'mois'

Author

Cedric Briand cedric.briand@eptb-vilaine.fr

Examples

Run this code
if (FALSE) {
 getvalue(new('ref_period'),'quinzaine')
}

Run the code above in your browser using DataLab