yearquarter()
is a constructor for <grates_yearquarter>
objects.
Arguments
- year
[integer]
Vector representing the year associated with
quarter
.double
vectors will be converted viaas.integer(floor(x))
.- quarter
[integer]
Vector representing the quarter associated with `year.
double
vectors will be converted viaas.integer(floor(x))
.
Details
<grates_yearquarter>
objects are stored as the number of quarters (starting
at 0) since the Unix Epoch (1970-01-01).