gen_all_waifws: Efficiency by precomputing WAIFW matrices at each time step...

Description Usage Arguments Value

View source: R/02_beta_mixing_interventions_functions.R

Description

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.

Usage

1
gen_all_waifws(l_interventions, l_contact_info, v_names_ages, max_time)

Arguments

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.

Value

A 3D matrix of appropriate WAIFW matrices for each time step in the model.


SC-COSMO/sccosmomcma documentation built on Dec. 18, 2021, 11:56 a.m.