Find ax[1:2] indicators using Coale-Demeny coefficients Here we adjust the first two values of ax to account for infant mortality more accurately
coale.demeny.ax(x, mx, ax, sex)A vector of coefficients
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)).
Age-specific death rate in the age interval [x, x+n).
Defined as Dx / Ex.
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.
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.