Get the distance of a node to another node in the tree

get_node_distance(node, ancestor_node)

Arguments

node, ancestor_node

An object of class ExplorerNode.

If node is the ancestor node, 0 is returned. If ancestor_node is no ancestor of node, NULL is returned.