Given an MCMC chain and other parameters, returns a list of data frames that can be used to generate an incidence plot
1 2 3 |
chain |
the MCMC chain |
dat |
the data frame of real microcephaly data |
incDat |
the data frame of real ZIKV incidence data |
parTab |
the parameter table |
ts |
vector of times |
local |
string for state under consideration |
runs |
the number of samples to take |
startDay |
if realDat is not provided, need to provide the first day on which we want to see predicted microcephaly numbers |
noMonths |
if realDat not provided, need to provide the number of months of forecasted data that we wish to see |
noWeeks |
if no incidence data provided, number of weeks over which we should plot the data |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.