agemx.spec | R Documentation |
Calculate all-cause mortality rate by single year of age and sex from a
spec
object.
## S3 method for class 'spec'
agemx(mod, nonhiv = FALSE)
mod |
output of simmod of class |
Mortality in year Y is calculated as the number of deaths occurring from the mid-year of year Y-1 to mid-year Y, divided by the population size at the mid-year of year Y-1. !!! NOTE: This might be different from the calculation in Spectrum. Should confirm this with John Stover.
3-dimensional array of mortality by age, sex, and year.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.