FUNCTION_DESCRIPTION
setup_test_model( n_agents = 100, mean_age = 40, std_age = 20, p_female = 0.5, p_med_cond = 0.2, p_seir = c(0.99, 0, 0.01, 0), p_sympt = 0.5 )
n_agents | The number of agents in the model. |
---|---|
mean_age | The mean age of an agent. |
std_age | The standard deviation of ages among agents. |
p_female | The fraction of agents who are female. |
p_med_cond | Probability of having a medical condition. |
p_seir | A vector of probabilities for "S", "E", "I", and "R" status. These should add up to 1.0. |
p_sympt | Probability of being symptomatic when infectious. |
A model, as returned by setup_model()
# ADD_EXAMPLES_HERE