fitOnePatchWHO: Driver Routine for a single region - WHO Data

Description Usage Arguments Value Examples

View source: R/who_fxns.R

Description

An MCMC fit of the model WHO data.

Usage

1
2
fitOnePatchWHO(mydata = NULL, all_years_epi = all_years_epi,
  opt.list = NULL, run.list = NULL, ireal = 1, iseed = NULL)

Arguments

mydata

A complex list with all available mydata for a given flu season model

all_years_epi

- the entire history of incidence for this region

opt.list

A Logical list with TRUE or FALSE values for all the parameters supported by DICE. These values are set based on the user chosen model for the basic reproduction value.

run.list

A list with parameters needed for the MCMC procedure

ireal

Integer - the MCMC chain number. Default is 1. #' @param iseed An integer used to set the random-number-generator seed. When not specified, the seed is generated randomly. Setting the seed to a known integer allows an MCMC chain to be reproducible.

Value

A list with the following arguments:

model_rtn

The best result of the MCMC procedure for the model data

model_profile

Randomly selected results from the MCMC procedure of directly fitting the model data

tab.model

The MCMC history of the direct fit to the model data

Examples

1
fitOnePatchWHO{mydata = mydata, opt.list = opt.list, run.list = run.list, ireal = ireal, iseed = iseed}

predsci/DICE documentation built on Aug. 9, 2019, 9:41 a.m.