| units_since {tsibble} | R Documentation |
Time units since Unix Epoch
units_since(x)
x |
An object of |
origin:
POSIXct: 1970-01-01 00:00:00
Date: 1970-01-01
yearweek: 1970 W01 (i.e. 1969-12-29)
yearmonth: 1970 Jan
yearquarter: 1970 Qtr1
units_since(x = yearmonth(2012 + (0:11) / 12))