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