exposure_age: Approximate age-specific person-years of exposure to...

View source: R/exposure_helper_functions.R

exposure_ageR Documentation

Approximate age-specific person-years of exposure to fertility/mortality in the period

Description

This function takes cohort-period deaths and age-specific nMx to approximate age-specific person years of exposure Useful for aggregating life tables across time, age, geographies

Usage

exposure_age(death_age_period, nmx_age_period)

Arguments

death_age_period

numeric. vector of age-period deaths

nmx_age_period

numeric. vector of life table nMx values

Value

a numeric vector of person-years of exposure by single year of age.

Author(s)

Sara Hertog


markalava/ccmppWPP documentation built on April 21, 2022, 12:36 a.m.