run_model.Rd
run_model
returns list with generator function automatically created given the odin model
specified.
run_model(
model = "odin_model",
het_brackets = 5,
age = c(0, 0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2, 3.5, 5, 7.5, 10, 15, 20, 30, 40,
50, 60, 70, 80),
init_EIR = 10,
init_ft = 0.4,
country = NULL,
admin2 = NULL,
time = 100,
...
)
Name of odin model used. Default = "odin_model"
Numeric for heterogeneity brackets
Age vector
Initial EIR for initial solution
Initial ft for initial solution
Character of country in which admin unit exists
Character for admin level 2
Integer for length of simulation in days. Default = 100
Any other parameters needed for non-standard model. If they share the same name
as any of the defined parameters model_param_list_create
will stop. You can either write
any extra parameters you like individually, e.g. create_r_model(extra1 = 1, extra2 = 2)
and these parameters will appear appended to the returned list, or you can pass explicitly
the ellipsis argument as a list created before, e.g. create_r_model(...=list(extra1 = 1, extra2 = 2))
list of generator function, initial state, model parameters and generator