nodes: Returns a vector of node indices for all nodes (leaves plus internal nodes) in the tree.
Description
Returns a vector of node indices for all nodes (leaves
plus internal nodes) in the tree.
Value
integer vector with the node indices for all nodes