lubriToRepoTime: Transformation of Interval class objects into time intervals...

View source: R/lubriToRepoTime.R

lubriToRepoTimeR Documentation

Transformation of Interval class objects into time intervals under the repo notation

Description

lubriToRepoTime transforms time intervals expressed as objects of class Interval from the lubridate-package into the so-called repo notation.

Usage

lubriToRepoTime(lubriInterval, Rot = FALSE)

Arguments

lubriInterval

Object of class Interval from lubridate-package.

Rot

Logical vector of length 1 indicating whether periods with rotated samples are to be included in the sequence or not (default).

Details

The repo notation of time intervals is explained in the details section of RepoTimeInt-class.

See Also

RepoTimeTolubri

Examples

lubriToRepoTime(lubridate::interval('2015-04-01', '2015-04-30', tz = 'Europe/Madrid'))
lubriToRepoTime(lubridate::interval('2015-01-01', '2015-03-31', tz = 'Europe/Madrid'))


david-salgado/RepoTime documentation built on Feb. 2, 2024, 2:07 p.m.