set.opt.list: Create a Logical List with all the 'DICE' model parameters

Description Usage Arguments Value Examples

View source: R/setup_run_fxns.R

Description

DICE has a list of model parameters it recognizes, for both uncoupled and coupled runs. This function sets the values of these parameters to either TRUE or FALSE depending on the model number Given a model number TRUE or FALSE values are assigned to all of these parameters. In the case of a coupled run, the coupled logical list is also constructed.

Usage

1
set.opt.list(mydata = NULL, isingle = 1)

Arguments

isingle

A Number: 0 - coupled run 1 - uncoupled run

Compartmental

Model Number (1-5)

  • 1 - SIR

  • 2 - SEIR

  • 3 - (SIR)_H / (SI)_V

  • 4 - (SEIR)_H / (SEI)_V

  • 5 - SIRB

model

Number - The model Number (1-5, default is 5)

  • 1 - specific humidity (SH) only

  • 2 - school vacation (SV) only

  • 3 - both SH and SV

  • 4 - Fixed value of R(t)

  • 5 - A two-value model for R(t)

Value

A logical list with all the DICE parameters properly set to TRUE or FALSE.

Examples

1
2
set.opt.list{mydata = mydata, isingle = 0}
set.opt.list{mydata = mydata, isingle = 1}

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