Description Usage Arguments Details Value

View source: R/functions_useful.R

Define a regularly spaced time series

1 | ```
define_time_series(begin_date, end_date, interval_in_hours)
``` |

`begin_date` |
First date of the time series |

`end_date` |
All time stamps in the time series must be smaller than this last value |

`interval_in_hours` |
Interval of two consecutive time stamps in the time series |

Use POSIXct-type date-time stamps! Time series are rounded to nearest even 3-hour (00,03,06,09,12,15,18,21). Default values of the parameters correspond to dates used in MOS training (begin_date = "2011-12-01 00:00:00 GMT", end_date = Sys.time()).

A regularly spaced time series

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.