Description Usage Arguments Value
View source: R/simTransmission.R
Generate summary table and barplots (optional) of asymptomatic & symptomatic cases at given times since pandemic starts
1 | cases.plot(transmatrix, times, plot = TRUE)
|
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 |
times |
a vector of truncated times (in days) during pandemic |
plot |
a logical parameter indicating whether to produce barplot or not (It's recommended to set to FALSE if vector "times" has a length longer than 15) |
barplots (optional) and summary tables illustrating number of cases of six groups (asymptomatic_infectious, asymptomatic_recovered, symptomatic_latent, symptomatic_diagnosed, symptomatic_recovered, dead) by truncated times.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.