BuildStQList: Constructor of objects of class StQList

Description Usage Arguments Value Examples

View source: R/BuildStQList.R

Description

This constructor returns an object of class StQList. The input parameter is a named list of objects of class StQ. Notice that the names of the list must be valid time period names according to package RepoTime.

Usage

1

Arguments

Data

List of objects of class StQ.

Value

An object of class StQList.

Examples

1
2
3
4
5
6
7
8
9
EmptyQ <- StQ()
EmptyQList <- vector('list', 12)
EmptyQList <- lapply(EmptyQList, function(x) EmptyQ)
mm <- c(paste0('0', 1:9), 10:12)
names(EmptyQList) <- paste0('MM', mm, '2015')
QList <- BuildStQList(EmptyQList)
QList
#Notice that it is indeed an object with complex structure:
str(QList)

david-salgado/StQ documentation built on Aug. 12, 2021, 3:23 p.m.