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.

TREES

Example:

>> rindex_tree (sample2_tree)';

[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 1, 2]

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License