findInfections: Find the infected individual and its next generation

Description Usage Arguments Value

View source: R/simTransmission.R

Description

Takes in transmission matrix, node of infected individual and return the information matrix of input node of infected individual as well as the individuals directly infected by it.

Usage

1
findInfections(node, transmatrix)

Arguments

node

node number of infected individual

transmatrix

information matrix of transmission

Value

a transmission matrix including infection time, removal time and node number of current individual and the individuals infected by the input node.


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