README.md

RepoTime

This is an R package for the implementation of a notation for usual natural time intervals (months, terms, semesters, years, ...) as PPp...p, where

The notation shows a double character because in its application to data sets in statistical production we need occassionally to refer to rotated samples with respect to previous time intervals. In these cases, the notation sligthly changes to AR, SR, TR, MR and DR, respectively.

The bottom line of the implementation is the definition of an S4 class named RepoTimeInt with two attributes (slots), that is, a character vector of time periods (intervals) with the aforementioned notation and a list with their corresponding time interval expressed as an object of class Interval of the package lubridate.

Thus, the manipulation of these natural time periods is internally carried out through methods implemented in the lubridate package whose result is brought back to our notation.

The package is currently under development and may contain numerous bugs. It is being tested and under profiling.



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