subset_TSD | R Documentation |
Extracts a subset of TSD data according to the array subset 'ind' and/or the cartesian subset 'range' and/or the logical/numeric vector of subscripts 'subset'.
subset_TSD(
data,
ind = list(),
range = list(),
subset = NULL,
ind.out = FALSE,
drop = TRUE,
strict = TRUE,
insert.NA = FALSE,
only.match = FALSE,
pad = c("end", "start")
)
data |
is a list of elements named according to the TSD file format. |
ind |
is a list of indexes, as typed into the [] of an array, where 0 and NULL denotes all indexes. |
range |
is a list of elements with names matching names if 'data', specifying the range of the corresponding elements. |
subset |
is a numeric or logical vector/expression indicating elements or rows to keep (as used in subset()). Missing values are taken as false, and subset=0 or subset=NULL indicates no subsetting. |
ind.out |
is TRUE if the indexes for the elements segmented are to be returned. |
drop |
is TRUE if dimensions of only one level is to be removed from the output. |
strict |
is TRUE if strict inequality is to be used when subsetting according to 'range'. |
insert.NA |
is TRUE if the discarded data are to be kept as NA. |
only.match |
is TRUE if only the arrays of length equal to the length of 'subset' are to be subsetted using 'subset'. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.