Description Usage Arguments Value Examples
getPeriods
returns a vector with the names of the time periods from the input
object.
1 2 3 4 5 6 7 | getPeriods(object)
## S4 method for signature 'rawStQList'
getPeriods(object)
## S4 method for signature 'StQList'
getPeriods(object)
|
object |
Object of class rawStQList or StQList. |
Character vector with the names of the time periods according to the notation of package RepoTime.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | mm <- c(paste0('0', 1:9), 10:12)
TimePer <- paste0('MM', mm, '2015')
PeriodList <- RepoTime::newRepoTime(TimePer)
EmptyrawQ <- rawStQ()
EmptyrawQList <- vector('list', 12)
EmptyrawQList <- lapply(EmptyrawQList, function(x) EmptyrawQ)
rawQList <- rawStQList(Data = EmptyrawQList, Periods = PeriodList)
getPeriods(rawQList)
EmptyQ <- StQ()
EmptyQList <- vector('list', 12)
EmptyQList <- lapply(EmptyQList, function(x) EmptyQ)
QList <- StQList(Data = EmptyQList, Periods = PeriodList)
getPeriods(QList)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.