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