Description Usage Arguments Value
View source: R/simTransmission.R
Takes in transmission matrix and trucated it at given time. Then generate the truncated transmission matrix and latent/infectious and recovered cases for both syptomatic and asymptomatic groups, as well as diagnosed and dead cases by a truncated/given time
1 | timeTruncate(transmatrix, time)
|
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 |
time |
a truncated time |
a time truncated transmission matrix along with total number and index of Symptomatic_latent, Symptomatic_diagnosed, Symptomatic_recovered, Asymptomatic_infectious, Asymptomatic_recovered and dead cases at the truncated time
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.