nosoi (version 1.1.2)

get_node: Get Node

Description

Find the node descending from the branch where the host lies at a given time on the transmission tree.

Usage

get_node(tdata, host, time)

Value

number of the node in the transmission tree descending from the host at given time.

Arguments

tdata

a tibble extracted from a treedata object.

host

host id

time

time at which to sample the host

See Also

get_position