Description Usage Arguments Value
View source: R/simTransmission.R
Takes in transmission matrix and plot a transmission network
1 2 3 4 5 6 7 8 9 | plotTransNet(
transmatrix,
index_sym_latent = integer(0),
index_sym_diagnosed,
index_sym_recovered,
index_asy_infectious = integer(0),
index_asy_recovered,
index_dead
)
|
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 |
index_sym_latent |
index of symptomatic individuals who are in latent period |
index_sym_diagnosed |
index of symptomatic individuals who have been diagnosed |
index_sym_recovered |
index of symptomatic individuals who have recovered |
index_asy_infectious |
index of asymptomatic individuals who are still infectious (not recovered). |
index_asy_recovered |
index of asymptomatic individuals who have recovered |
index_dead |
index of individuals who was dead from the pandemic |
a plot of transmission network
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.