project: Project future incidence at a location Simulates future...

Description Usage Arguments Value Author(s)

Description

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.

Usage

1
project(incid, R, si, pij, n_days = 7)

Arguments

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.

Value

data frame containing projected incidence count with n_days rows and n columns.

Author(s)

Sangeeta Bhatia


annecori/mRIIDSprocessData documentation built on May 29, 2019, 1:16 p.m.