gen_household_matrices_mc_seir: Generate household matrices

Description Usage Arguments Value

View source: R/01_household_model_inputs_functions.R

Description

gen_household_matrices_mc_seir generates transition matrices for within household epidemics.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
gen_household_matrices_mc_seir(
  n_hhsize,
  n_hh_mod,
  v_names_states_hh,
  v_names_exp_hh,
  v_names_inf_hh,
  v_names_rec_hh,
  v_index_hh_sus,
  v_index_hh_exp,
  v_index_hh_inf,
  v_index_hh_rec,
  df_possibilities,
  r_sigma,
  r_gamma
)

Arguments

n_hhsize

Household size.

n_hh_mod

Number of household model states.

v_names_states_hh

Vector with names of household MC SEIR model.

v_names_exp_hh

Vector with names of exposed states.

v_names_inf_hh

Vector with names of infectious states.

v_index_hh_sus

Indexing column vector of susceptible.

v_index_hh_exp

Indexing column vector of exposed.

v_index_hh_inf

Indexing column vector of infectious.

v_index_hh_rec

Indexing column vector of recovered.

r_sigma

Daily rate of progression of exposed individuals (Latent period).

r_gamma

Daily rate of recovery of infectious individuals (Infectiousness period).

m_possibilities

Matrix with possible combinations of household.

Value

A list with three transition matrices: 1) community transmission matrix; 2) household transmission matrix; and 3) household recovered matrix.


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