yearmonth {grates} | R Documentation |
Constructor for yearmonth objects
Description
yearmonth()
is a constructor for <grates_yearmonth>
objects.
Usage
yearmonth(year = integer(), month = integer())
Arguments
year |
Vector representing the year associated with
|
month |
Vector representing the month associated with 'year.
|
Details
<grates_yearmonth>
objects are stored as the number of months (starting at
0) since the Unix Epoch (1970-01-01).
Value
A <grates_yearmonth>
object.
See Also
as_yearmonth()
and new_yearmonth()
.
Examples
yearmonth(year = 2000L, month = 3L)
[Package grates version 1.2.1 Index]