Description Usage Arguments Value
View source: R/02_beta_mixing_interventions_functions.R
gen_all_betas
provides a way to precompute all beta matrices
given the pattern of interventions and WAIFW matrices
at each time step for the SC-COSMO model.
1 | gen_all_betas(l_interventions, l_contact_info, v_names_ages, max_time, r_beta)
|
l_interventions |
List of interventions and timing. |
l_contact_info |
List of WAIFW matrix inputs. |
v_names_ages |
Vector of names for rows and columns of WAIFW matrices. |
max_time |
Number of time steps to precompute WAIFW matrices for. |
r_beta |
Beta component of force of infection w/o intervention. |
A 3D matrix of appropriate beta matrices for each time step in the model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.