get_node: Get Node

View source: R/output_treeGenerator.r

get_nodeR Documentation

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)

Arguments

tdata

a tibble extracted from a treedata object.

host

host id

time

time at which to sample the host

Value

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

See Also

get_position


slequime/nosoi documentation built on Aug. 10, 2024, 9:13 p.m.