Description Usage Arguments Value
Takes in global set values for global parameters, and simulates country-year parameters, which feeds into simulated country-year data. A list is outputted that contains both simulated country-year data to be input for JAGS run, and fixed "truth" country-year parameters values ie SENS.ct. Capitolized parameters in list are indicating fixed values for country-years to not interfere with jags runs.
1 | run_simulation(runname, i, global_settings, simsetting)
|
runname |
Description of run settings |
i |
Simulation number out of Nsim |
global_settings |
a vector of fixed values for global parameters, ie sensworld, specworld |
simsetting |
Description of simsetting |
returns a list which consists of simulated data and jags inputs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.