Returns for tree intree an Nx1 vector rindex
attributing to each node a region specific index increasing for each region
individually in order of appearance within that region.
Example:
>> rindex_tree (sample2_tree)';
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1, 2]
This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License