sim_mortality_data {StanMoMo} | R Documentation |
Simulation of mortality data from various models
Description
Simulation of mortality data from various models
Usage
sim_mortality_data(a, k, k2, b, g, phi, years, ages, exposure, mortality_model)
Arguments
a |
vector of age component |
k |
first vector of time component |
k2 |
second vector of time component |
b |
vector of age/time component |
g |
vector of cohort component |
phi |
dispersion parameter |
years |
vector of calendar year |
ages |
vector of ages |
exposure |
matrix of exposure |
mortality_model |
name of the mortality model that we simulate from |
Value
matrix of death counts
[Package StanMoMo version 1.2.0 Index]