Description Usage Arguments Value
View source: R/garchitorena_models.R
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
1 2 | sim_opt_choice(A_vec, states, opt_list, p_start, t_per_step, int_par,
parameters)
|
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 |
Data frame of prevalence over course of intervention with optimal intervention implemented at each time step
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.