stacomiR (version 0.5.4.0)

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)

Arguments

object

An object of class ref_period-class

id

one of "jour", "semaine", "quinzaine", "mois"

Value

"a character to be used in seq.POSIXt

Examples

Run this code
# NOT RUN {
 getvalue(new("ref_period"),"quinzaine")
# }

Run the code above in your browser using DataCamp Workspace