Parameterise variable deathrates

set_demography(parameters, agegroups, timesteps, deathrates)

Arguments

parameters

the model parameters

agegroups

vector of agegroups (in timesteps)

timesteps

vector of timesteps for each change in demography

deathrates

matrix of deathrates per age group per timestep. Rows are timesteps from the timesteps param. Columns are the age groups from the agegroups param.