Description Usage Slots Examples
Definition of an S4 class of name rawStQList
with a list of objects of class
rawStQ. Instead of an atomic vector as a name, we associate with it an object of
class RepoTimeInt containing the names of the time periods corresponding to each
rawStQ object.
The structure of this S4 class rawStQList
comprises 2 attributes:
the attribute Data
, which is a list
of objects of class rawStQ;
the attribute Periods
, which is an object of class RepoTimeInt.
1 | rawStQList(Data = list(), Periods = new(Class = "RepoTimeInt"))
|
Data
List
of objects of class rawStQ;
Periods
An object of class RepoTimeInt;
1 2 3 4 5 6 7 8 9 | 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)
rawQList
str(rawQList)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.