sim_w_inputs: Simulate transmission and intervention through time with...

Description Usage Arguments Value

View source: R/garchitorena_models.R

Description

For the simple, two-equation infectious disease model in 'garch_mod', simulate transmission and intervention with choices for transmission intensity (R0), relative cost of environmental to human intervention (script_P), timeframe, capital available, allocation of capital, parameters, and model formulation

Usage

1
sim_w_inputs(R0, script_P, T_frame, freq, M, A, pars, mod)

Arguments

R0

transmission intensity

script_P

relative cost of environmental to human intervention

T_frame

total time frame to simulate

freq

frequency of intervention

M

total capital available per intervention

A

numeric between 0 and 1 of proportion of capital to go towards human intervention (remainder goes towards environmental intervention)

pars

parameter set with remainin transmission parameters

mod

model formulation (e.g. with density dependence 'garch_mod_pdd' or not 'garch_mod')

Value

estimate of utility associated with inputs. Measured as the sum over time of prevalence^1.5 (penalizes higher prevalence values)


cmhoove14/DDNTD documentation built on Nov. 23, 2019, 7:04 p.m.