View source: R/array_transform.R
subsetIndices
check arguments and creates subset indices for
subsetArray and 'subsetArray<-'.
1 | subsetIndices(subset., which_dims., dim., dimnames.)
|
subset. |
a possibly named list of subset indices (either logical, integer, character, factor, or is* functional indices) |
which_dims. |
the indices of the dimensions which should be subsetted |
dim. |
the dimensions of the data to subset on |
dimnames. |
the dimension names of the data to subset on |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.