generateAllowableParams: Generate allowable starting parameters

Description Usage Arguments Value

View source: R/par_setup.R

Description

Given a desirable SEIR peak time and time window, generates a set of R0 and t0 parameters that satisfy this peak time

Usage

1
2
3
generateAllowableParams(peakTime = 927, peakTimeRange = 60, stateNames,
  parTab = NULL, allowableParsFile = "allowablePars.csv", R0max = 6.5,
  peakTimings = NULL)

Arguments

peakTime

the desired central peak time. Defaults to 927

peakTimeRange

the desired allowable peak time range (ie. square prior)

stateNames

the set of Brazilian states for which allowable parameters should be generated. Must match those in the microDatFile

parTab

the parameter table as returned by setupParTable

allowableParsFile

file location for the allowable parameters table, if it exists.

peakTimings

Optional data frame providing a specific upper and lower peak time bound for each state

microDatFile

the location of the microcephaly data file which is needed to obtain N_H and L_H for each state. Note that this is only needed if no parTab is provided

Value

a table of allowable parameters with columns for t0, mosquito density (R0), corresponding state (as this will vary by N_H and life expectancy), and corresponding peak time


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