Description Usage Arguments Value Examples
[
extracts parts of an object of class rawStQList.
It is indeed the method [
for the class rawStQList. This method returns a
subset of an input object of class rawStQList. Thus it returns an object of class
rawStQList.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## S3 method for class 'rawStQList'
x[
i,
j,
by,
keyby,
with = TRUE,
nomatch = getOption("datatable.nomatch"),
mult = "all",
roll = FALSE,
rollends = if (roll == "nearest") c(TRUE, TRUE) else if (roll >= 0) c(FALSE, TRUE)
else c(TRUE, FALSE),
which = FALSE,
.SDcols,
verbose = getOption("datatable.verbose"),
allow.cartesian = getOption("datatable.allow.cartesian"),
drop = NULL,
on = NULL
]
|
x |
object of class rawStQList. |
i, j, ... |
Indices corresponding to the elements to be extracted. These indices are numeric
vector or character vector or missing or NULL. Numeric values are coerced
internally to |
drop |
Included by coherence. |
Object of class rawStQList with the corresponding data subset.
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
# Error in eval(mc, rawStQObj, parent.frame()) :
# invalid 'envir' argument of type 'character'
mm <- c(paste0('0', 1:9), 10:12)
TimePer <- paste0('MM', mm, '2015')
QList <- vector('list', 12)
QList <- lapply(QList, function(x) ExamplerawStQ)
names(QList) <- TimePer
QList <- rawStQList(Data = QList, Periods = RepoTime::newRepoTime(TimePer))
QList[c('MM092015', 'MM102015')]
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.