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