toAdj: Generate transmission matrix that can be used to plot...

Description Usage Arguments Value

View source: R/simTransmission.R

Description

Takes in transmission matrix and convert it to a matrix giving network structure

Usage

1
toAdj(transmatrix)

Arguments

transmatrix

information matrix of transmission including infection time, recovery/dead time, number of people infected by current individual, current node number of current individual, node number of individual who infected the current person (ancestor), asymptomatic information, diagnosed time and death information of current person

Value

network structure matrix


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