BuildrawStQList: Constructor of objects of class rawStQList

Description Usage Arguments Value Examples

View source: R/BuildrawStQList.R

Description

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

Usage

1

Arguments

Data

A named list of objects of class rawStQ.

Value

An object of class rawStQList.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
mm <- c(paste0('0', 1:9), 10:12)
TimePer <- paste0('MM', mm, '2015')
EmptyrawQ <- rawStQ()
EmptyrawQList <- vector('list', 12)
EmptyrawQList <- lapply(EmptyrawQList, function(x) EmptyrawQ)
names(EmptyrawQList) <- TimePer
rawQList <- BuildrawStQList(EmptyrawQList)
rawQList
#Notice that it is indeed an object with complex structure:
str(rawQList)

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