get_ancestor_node.Rd
Get the ancestor node of a node which is generation
generations away
from node
.
get_ancestor_node(node, generation)
node | A |
---|---|
generation | An If generation is greater than the number of the node's ancestors, NULL is returned. |