parTabSetup: Parameter setup

Description Usage Arguments Value

View source: R/par_setup.R

Description

Sets up the parameter table based on the version, locations and allowable parameters

Usage

1
2
3
parTabSetup(locationNames, version, locationInfo, useInc,
  allowablePars = NULL, sharedProb = TRUE, normLik = FALSE,
  locationWeights = FALSE, forecast = FALSE)

Arguments

locationNames

the vector of locations to include

version

Version 1-3 indicating which form of the microcephaly risk curve is to be used

locationInfo

a table with location name, L_H (human lifespan in years) and N_H (human population size). See data(locationInfo)

useInc

bool indicating whether or not ZIKV incidence data is considered here

allowablePars

data frame of allowable parameters for density and t0

sharedProb

bool if the version with shared microcephaly parameters should be used

normLik

Using normal likelihood function for data. If false, uses binomial likelihood. If true, uses normal likelihood which incorporates two standard deviation parameters for ZIKV and microcephaly incidence data

locationWeights

bool deciding if data from different locations should be weighted

forecast

if TRUE, sets up the parameter table for the forecasting analysis

Value

the modified parameter table


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