Description Usage Arguments Value
View source: R/02_decision_household_model_functions.R
gen_household_transmission
generates household transmission (i.e.,
force of infection).
1 2 3 4 5 6 7 8 9 10 11 | gen_household_transmission_mc_seir(
r_tau,
n_hhsize,
n_contacts_hh,
v_HH,
v_index_hh_sus,
v_index_hh_exp,
v_index_hh_inf,
v_index_hh_rec,
m_possibilities
)
|
r_tau |
Transmission rate in the household model. |
n_hhsize |
Household size (integer). |
n_contacts_hh |
Average number of within household contacts. |
v_HH |
State vector of within household epidemics. |
v_index_hh_sus |
Indexing column vector of susceptible. |
v_index_hh_inf |
Indexing column vector of infectious. |
v_index_hh_rec |
Indexing column vector of recovered. |
m_possibilities |
Matrix with possible combinations of household members within each epidemic compartment. |
A scalar with the force of infection.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.