Learn R Programming

LEdecomp (version 1.0.4)

lL_to_ex: calculate remaining life expectancy ex for each age

Description

Here we combine HMD Method Protocol equations 79 and 80. We calculate all the remaining years left to live at each age, then condition this on survival to each age.

Usage

lL_to_ex(lx, Lx)

Value

numeric vector of remaining life expectancy ex

Arguments

lx

numeric vector of lifetable survivors at exact age x

Lx

numeric vector of lifetable exposure Lx

References

wilmoth2021methodsLEdecomp