View source: R/lt_regroup_age.R
lt_single2abridged | R Documentation |
Computes abridged life table columns based on the lx, nLx , and ex values from a single year life table, in accordance with step 2.2 of the Human Life Table Protocol https://www.lifetable.de/methodology.pdf. Output abridged life table has same open age group as input single age life table
lt_single2abridged(lx, nLx, ex, Age = 1:length(lx) - 1, ...)
lx |
numeric. Vector of lifetable survivorship at single ages. |
nLx |
numeric. Vector of lifetable exposure at single ages. |
ex |
numeric. Vector of Age-specific remaining life expectancy at single ages. |
Age |
integer. Lower bounds of single ages. |
... |
optional args, not currently used. |
Similar to lt_abridged()
details, forthcoming
Abridged lifetable in data.frame
with columns
Age
integer. Lower bound of abridged age class
AgeInt
integer. Age class widths.
nMx
numeric. Age-specific central death rates.
nAx
numeric. Average time spent in interval by those deceased in interval.
nqx
numeric. Age-specific conditional death probabilities.
lx
numeric. Lifetable survivorship
ndx
numeric. Lifetable deaths distribution.
nLx
numeric. Lifetable exposure.
Sx
numeric. Survivor ratios in uniform 5-year age groups.
Tx
numeric. Lifetable total years left to live above age x.
ex
numeric. Age-specific remaining life expectancy.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.