Find the position on the branch above the node of the times sample.
Warning: The node needs to be extracted with get_node
.
Result of this function is to be used in bind.tree
get_position(tdata, node, time)
time between the node and the sampling event.
a tibble extracted from a treedata
object.
node below the sampling event
time of the sampling event
get_node