ts_date_seq | R Documentation |
ts_date_seq Generate a time-series with dates starting from January of the starting year to December of the ending years.
ts_date_seq(InitYear = 1970, LastYear = format(Sys.Date(), "%Y"))
InitYear |
First year of the time-series, four digits format (e.g. 1987). |
LastYear |
Last year of the time-series, if not provided, the current year is used. |
Returns a POSIXct vector with the format 'YYYY-MM-DD HH:MM:SS'
Reto Schmucki - reto.schmucki@mail.mcgill.ca
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.