function that find the direct descendants of a node
descendant(node, tree)
node | the number of the node in the tree |
---|---|
tree | a tree. A data frame returned by the function |
descendants: a vector with the number of the descendants of node
in tree
.