Description Usage Arguments Value
View source: R/02_beta_mixing_interventions_functions.R
gen_all_waifws
provides a way to precompute all WAIFW matrices
given the pattern of interventions at each time step for the
SC-COSMO model.
1 | gen_all_waifws(l_interventions, l_contact_info, v_names_ages, max_time)
|
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. |
A 3D matrix of appropriate WAIFW 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.