sim_death_apc {StanMoMo} | R Documentation |
Simulation of death counts from the Age-Period-Cohort mortality model
Description
Simulation of death counts from the Age-Period-Cohort mortality model
Usage
sim_death_apc(a, k, g, phi, years, ages, exposure)
Arguments
a |
vector of age component |
k |
vector of period component |
g |
vector of cohort component |
phi |
dispersion parameter |
years |
vector of calendar years |
ages |
vectors of ages |
exposure |
matrix of exposure data |
Value
matrix of death count
[Package StanMoMo version 1.2.0 Index]