get_foi.Rd
Calculate force of infection
get_foi(dat, params, vac_inputs)
dat | data frame of states |
---|---|
params | list of parameter values |
vac_inputs | vaccination inputs (output from convert_vac_schedule()) |
matrix of force of infection in each age group (columns) at each time point (rows)