These options will be used on objects of class 'yearmon'.
Usage
opts_yearmon(constructor = c("as.yearmon", "yearmon", "next"), ...)
Details
Depending on constructor
, we construct the object as follows:
"as.yearmon"
(default): We build the object usingzoo::as.yearmon()
on a string in the format"2000 Q3"
."yearmon"
: We build the object usingzoo::yearmon()
on a double in the format2000.5
"next"
: Use the constructor for the next supported class.