LifeTable.core
LifeTable.core(x, Dx, Ex, mx, qx, lx, dx, sex, lx0, ax)A data.frame containing life table results
Numeric vector of ages at the beginning of each age interval.
For a full life table, use single-year ages (e.g., 0:110).
For an abridged life table, use the lower bound of each interval
(e.g., c(0, 1, 5, 10, ..., 110)).
Death counts. Each element represents the total number of
deaths during the calendar year to persons aged x to
x + n (where n is the length of the age interval).
Must be provided together with Ex.
Exposure-to-risk in the period. This is usually approximated
by the mid-year population aged x to x + n. Must be
provided together with Dx.
Age-specific death rate in the age interval [x, x+n).
Defined as Dx / Ex.
Probability of dying within the age interval [x, x+n).
Probability of surviving to exact age x (if lx0 = 1),
or the number of survivors at exact age x (if lx0 > 1).
When lx is the sole input, the values are re-scaled to the
chosen radix lx0.
Number of deaths in the life-table population occurring in
the age interval [x, x+n). When dx is the sole input,
the values are re-scaled to sum to lx0.
Sex of the population. Options are NULL (default),
"male", "female", or "total". When specified,
the first two entries of the ax column are adjusted using
Coale-Demeny coefficients, producing more accurate life-table values
at the youngest ages. The adjustment differs slightly between males
and females.
Radix, the starting population (or probability scale) at
age 0. Default is 100,000. All subsequent life-table columns
(lx, dx, Lx, Tx) are scaled accordingly.
Numeric vector representing the average number of person-years
lived in the age interval by those who die in that interval. If
NULL (the default), ax is estimated internally using
a standard formula. You may supply a single value (applied to all
intervals) or a vector of the same length as x. A common
assumption is ax = 0.5, which places deaths at the midpoint
of each interval.