lt_id_q_l: Derive lifetable survivorship (lx) from death probabilities.

View source: R/lt_id.R

lt_id_q_lR Documentation

Derive lifetable survivorship (lx) from death probabilities.

Description

This lifetable identity is the same no matter what kind of lifetable is required. You can find it in any demography textbook.

Usage

lt_id_q_l(nqx, radix = 1e+05)

Arguments

nqx

numeric. Vector of age specific death probabilities.

radix

numeric. The lifetable starting population. Default 100000.

Details

#' @export #' @rdname lt_id_ma_q mxax2qx <- lt_id_ma_q

set radix = 1 for the probability of surviving until age x. The vector returned is the same length as nqx, thereby throwing out the final value of qx, which is usually set to 1.

Value

lx vector of lifetable survivorship.

References

\insertRef

preston2000demographyDemoTools


timriffe/DemoTools documentation built on Jan. 28, 2024, 5:13 a.m.