agemx.spec: Age-specific mortality

View source: R/spectrum.R

agemx.specR Documentation

Age-specific mortality

Description

Calculate all-cause mortality rate by single year of age and sex from a spec object.

Usage

## S3 method for class 'spec'
agemx(mod, nonhiv = FALSE)

Arguments

mod

output of simmod of class spec.

Details

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.

Value

3-dimensional array of mortality by age, sex, and year.


mrc-ide/eppasm documentation built on March 25, 2024, 9:19 p.m.