get_position: Get Position on branch

View source: R/output_treeGenerator.r

get_positionR Documentation

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


slequime/nosoi documentation built on Feb. 15, 2024, 3:31 p.m.