Skip to contents

Function to produce short-term daily projections from objects of class estimate_R

Usage

project_epiestim_model(data, model_fit, n_days = 7, n_sim = 1000)

Arguments

data

data frame containing two columns: date and confirm (number of cases per day)

model_fit

Object of class estimate_R generated by running fit_epiestim_model

n_days

The number of days to run simulations for. Defaults to 14

n_sim

The number of epicurves to simulate. Defaults to 1000

Value

Data-frame of daily forecast samples from all simulations

date

date

incidence

projected number of daily confirmed cases

sim

simulation run number