read_contact_data: function to construct contact matrix from data

Description Usage Arguments Value

View source: R/setup.R

Description

function to construct contact matrix from data

Usage

1
read_contact_data(contact_filename)

Arguments

contact_filename

character vector of length 1: file where contact data is located

Value

list of length n_countries, of square contact matrices of side length n_ages * n_riskgroups. for each matrix, contactMatrix[i,j] denotes the amount of influence an individual of type i has on an individual of type j, where type includes age and risk groups.


jameshay218/vaxedemic documentation built on Jan. 30, 2020, 2:58 a.m.