nosoi (version 1.0.0)

get_position: Get Position on branch

Description

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

Usage

get_position(tdata, node, time)

Arguments

tdata

a tibble extracted from a treedata object.

node

node below the sampling event

time

time of the sampling event

Value

time between the node and the sampling event.

See Also

get_node