distNodeToroot: Calculate the distance/time of input node from the first...

Description Usage Arguments Value

View source: R/simTransmission.R

Description

Calculate the distance/time of input node from the first infected individual

Usage

1
distNodeToroot(node, nodematrix)

Arguments

node

a number of node

nodematrix

a matrix that describes the relationships among nodes and corresponding branch lengths

Value

distance/time of input node from the first infected individual


Huimin-stat/simTransmission documentation built on Sept. 23, 2020, 12:43 a.m.