lt_single_qx | R Documentation |
Computes lifetable columns from single age qx by first computing 1ax, then computing 1mx from 1qx and 1ax, and finally passing the 1mx to the lt_single_mx() function
lt_single_qx(
nqx,
Age = 1:length(nqx) - 1,
radix = 1e+05,
a0rule = "ak",
Sex = "m",
region = "w",
IMR = NA,
mod = TRUE,
SRB = 1.05,
OAG = TRUE,
OAnew = max(Age),
extrapLaw = NULL,
extrapFrom = max(Age),
extrapFit = NULL,
...
)
nqx |
numeric. Vector of conditional death probabilities in abridged age classes. |
Age |
integer. A vector of ages of the lower integer bound of the age classes. |
radix |
numeric. Lifetable radix, l0. Default 100000. |
a0rule |
character. Either |
Sex |
character. Either male |
region |
character. North, East, South, or West: |
IMR |
numeric. Infant mortality rate q0, in case available and |
mod |
logical. If |
SRB |
the sex ratio at birth (boys / girls), default 1.05 |
OAG |
logical. Whether or not the last element of |
OAnew |
integer. Desired open age group (5-year ages only). Default |
extrapLaw |
character. If extrapolating, which parametric mortality law should be invoked? Options include
|
extrapFrom |
integer. Age from which to impute extrapolated mortality. |
extrapFit |
integer vector. Ages to include in model fitting. Defaults to all ages |
... |
Other arguments to be passed on to the
|
Similar to lt_abridged()
details, forthcoming
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 single-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.