define_time_series: Defining time series with fixed intervals

Description Usage Arguments Details Value

View source: R/functions_useful.R

Description

Define a regularly spaced time series

Usage

1
define_time_series(begin_date, end_date, interval_in_hours)

Arguments

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

Details

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()).

Value

A regularly spaced time series


jylhaisi/post-processing-mos-point-utils documentation built on April 9, 2018, 8:19 p.m.