sim_opt_choice: Implement an optimal policy identified with MDPtoolbox...

Description Usage Arguments Value

View source: R/garchitorena_models.R

Description

Simulates optimal treatment allocation based on control variable A_t in the discrete time version of the garchitorena model builds on 'garch_discrete_mod' and incorporates decision variable A_t that regulates where capital is committed to intervention

Usage

1
2
sim_opt_choice(A_vec, states, opt_list, p_start, t_per_step, int_par,
  parameters)

Arguments

A_vec

vector of possible decisions

states

vector of possible states of the system

opt_list

List from 'MDPtoolbox::mdp_finite_horizon'

p_start

index of which state to start at

t_per_step

Total time (days) to simulate

int_par

parameter environmental intervention acts on

parameters

Named vector or list of parameter values

Value

Data frame of prevalence over course of intervention with optimal intervention implemented at each time step


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