dash.indices.limits
Returns index limits given a set of element lengths
Syntax
Description
Given a set of element counts, returns the index limits of the item associated with each set of elements.
Input Arguments
nElements
vector, positive integers [nSets]
The number of elements associated with each set of values.
Output Arguments
limits
matrix, positive integers [nSets x 2]
The index limits of each set of elements in the full set of values.