subs2ind {noah} | R Documentation |
Convert matrix subscripts to linear index
Description
Takes subscripts as list of lists or data frame and converts them to linear index.
Usage
subs2ind(subs, dims)
Arguments
subs |
Subscripts as list of lists of data frame. |
dims |
An n-dimensional integer vector. Each element of this vector indicates the size of the corresponding dimension in the n-dimensional matrixc. |
Value
In integer vector with linear indexes.
[Package noah version 0.1.0 Index]