Description Usage Arguments Value Author(s)
Project future incidence at a location Simulates future incidence based on past incidence data at a given set of locations, the Reproduction numbers and the distribution of the serial interval. Runs a single simulation.
1 | project(incid, R, si, pij, n_days = 7)
|
incid |
A data frame of incidence counts for n locations and t days. Dates run down the rows and locations are across columns. |
R |
either a 1 X n matrix of reproduction numbers for each location or a matrix of n_days X n with R for each time instant and each location for which projection is to be made. |
si |
A vector drawn from serial interval distribution. If the length of the vector is less than the nrow(incid) + n_days, it is padded with 0s. |
pij |
a n x n matrix of probabilities where n is the number of locations. |
n_days |
number of days for which a simulation should be run. |
data frame containing projected incidence count with n_days rows and n columns.
Sangeeta Bhatia
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.