Learn R Programming

LEdecomp (version 1.0.4)

ald_to_Lx: Calculate the lifetable exposure

Description

Lx is defined as the integration of lx in the interval [x,x+n), where n is the width of the interval. There are many approximations for this. Here we use HMD Method Protocol equation 78. You can think of Lx as lifetable exposure, or person-years lived in each age interval.

Usage

ald_to_Lx(ax, lx, dx, nx)

Value

numeric vector of Lx values

Arguments

ax

numeric vector of ax, average time spent in the age interval by those that die in the interval

lx

numeric vector of lx, lifetable survivorship at exact ages.

dx

numeric vector of dx, the lifetable deaths distribution.

nx

age interval width, assumes 1 by default

References

wilmoth2021methodsLEdecomp