Calculate force of infection

get_foi(dat, params, vac_inputs)

Arguments

dat

data frame of states

params

list of parameter values

vac_inputs

vaccination inputs (output from convert_vac_schedule())

Value

matrix of force of infection in each age group (columns) at each time point (rows)