plot_setup_data: Get plot data

Description Usage Arguments

View source: R/plots.R

Description

Given an MCMC chain and other parameters, returns a list of data frames that can be used to generate an incidence plot

Usage

1
2
3
plot_setup_data(chain, dat = NULL, incDat = NULL, parTab, ts, local,
  runs = NULL, startDay = 0, noMonths = 12, noWeeks = 52,
  perCap = FALSE, forecast = FALSE, forecastPostChange = FALSE)

Arguments

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


jameshay218/zikaProj documentation built on Jan. 9, 2020, 7:26 p.m.