orderRepoTime: Order of RepoTime Period

Description Usage Arguments Value See Also Examples

View source: R/orderRepoTime.R

Description

orderRepoTime returns a character vector with the order of the time periods in the input parameter.

Usage

1
orderRepoTime(RepoTime)

Arguments

RepoTime

Character vector with time periods in repo notation.

Value

An integer vector with the same length as the input parameter RepoTime with the order of the time periods in the input parameter.

See Also

RepoTimeInt-class, getlubriInt

Examples

1
2
3
orderRepoTime(paste0('MM', c('04','06', '01'), '2016'))
orderRepoTime(paste0('QQ', rep(c('1', '2'), 3),c('04','06', '01'), '2016'))
orderRepoTime(paste0('AA', c('2016', '2001', '2014', '2012')))

david-salgado/RepoTime documentation built on June 16, 2021, 7:15 p.m.