function that gives the nodes of the subtree stremming from node

get_nodes(node, tree)

Arguments

node

the number of the node in the tree tree.

tree

a tree. A data frame returned by the function CARTGV and which summarizes the resulted CARTGV tree.

Value

a vector indicating the nodes of the subtree stremming from node.