function that gives the leaves of the subtree stremming from node
get_node_leaves(node, tree)
node | the number of the node in the tree |
---|---|
tree | a tree. A data frame returned by the function |
a vector indicating the leaves of the subtree stremming from node
.