levarr: Subsidiary routine that generates a particular permutation
Description
Not intended for casual user use. This function is used to provide
the partition to reorder wst.object into wd.object
(nondecimated time ordered) objects.
Usage
levarr(v, levstodo)
Value
A permutation of the v vector according to the number of levels
that need handling
Arguments
v
the vector to permute
levstodo
the number of levels associated with the current
level in the object you wish to permute