add_node_tip {nosoi} | R Documentation |
Add one tip
Description
Add a tip to the transmission tree corresponding to the sampled individual.
Usage
add_node_tip(tree, host, time, label, state)
Arguments
tree |
transmission tree of class |
host |
ID of the host |
time |
time of the sampling event |
label |
label of the new tip to be added |
state |
state of the sampled individual |
Value
modified tree, with on extra tip of length zero at the right place of the tree
[Package nosoi version 1.1.2 Index]