LTabr | R Documentation |
Implements the abridged lifetable formulas given in the supplementary material to Andreev et. al. (2012). An entire lifetable is calculated, but only life expectancy at birth is returned.
LTabr(Mx, Age = c(0, 1, cumsum(rep(5, length(Mx) - 2))), radix = 1e+05)
Mx |
numeric vector of abridged mortality rates. |
Age |
integer, abridged age lower bounds. |
radix |
numeric. Can be anything positive. |
Chiang's a(x) is assumed in the following way: a(0) = 0.07 + 1.7 * M(0)
, a(1) = 1.6
, a(\omega) = \frac{1}{M(\omega)}
, and all others are assumed at mid interval. The last age is assumed open. Everything else is pretty standard.
numeric life expectancy at birth
andreev2002algorithmDemoDecomp \insertRefandreev2012excelDemoDecomp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.