gen_all_intervention_effects: Efficiency by precomputing intervention effects at each time...

Description Usage Arguments Value

View source: R/02_beta_mixing_interventions_functions.R

Description

gen_all_intervention_effects provides a way to precompute all intervention effects at each time step for the SC-COSMO model.

Usage

1
gen_all_intervention_effects(l_interventions, v_names_ages, max_time)

Arguments

l_interventions

List of interventions and timing.

v_names_ages

Vector of names for rows and columns of WAIFW matrices.

max_time

Number of time steps to precompute intervention effects for.

Value

A 2D matrix of appropriate intervention vectors for each time step in the model.


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