R/sim_mortality_data.R
sim_death_mix_cbd_rh.Rd
Simulation of death counts from a hybrid model that averages the mortality rates from the cbd and rh models
sim_death_mix_cbd_rh(params_cbd, params_rh, years, ages, exposure, q)
params_cbd | named list that contains the parameters of the cbd model |
---|---|
params_rh | named list that contains the parameters of the rh model |
years | vector of calendar year |
ages | vector of ages |
exposure | matrix of exposure data |
q | mixing parameter (0 <- rh, 1 <- cbd) |
matrix of death count