View source: R/sim_mortality_data.R
sim_mortality_data | R Documentation |
Simulation of mortality data from various models
sim_mortality_data(a, k, k2, b, g, phi, years, ages, exposure, mortality_model)
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 |
matrix of death counts
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.