setup_travel_real_data: function to construct travel matrix from data

Description Usage Arguments Value

View source: R/setup.R

Description

function to construct travel matrix from data

Usage

1
setup_travel_real_data(travel_filename, pop_size, travel_params)

Arguments

travel_filename

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

pop_size

numeric vector of length n_countries: population size in each country

travel_params

named vector/list containing the element "epsilon": a numeric vector of length 1 which scales the off-diagonal terms of the travel matrix. Roughly, the ratio of off-diagonal to on-diagonal term size.

Value

square travel matrix of side length n_countries (unnormalised)


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