life_table | R Documentation |
All available years and ages are included in the tables. $qx = mx/(1 + ((1-ax) * mx))$ as per Chiang (1984). Warning: the code has only been tested for data based on single-year age groups.
life_table(.data, mortality)
.data |
A |
mortality |
Variable in |
A vital object containing the index, keys, and the new life table variables mx
, qx
, lx
, dx
, Lx
, Tx
and ex
.
Rob J Hyndman
Chiang CL. (1984) The life table and its applications. Robert E Krieger Publishing Company: Malabar.
Keyfitz, N, and Caswell, H. (2005) Applied mathematical demography, Springer-Verlag: New York.
Preston, S.H., Heuveline, P., and Guillot, M. (2001) Demography: measuring and modeling population processes. Blackwell
# Compute Victorian life table for females in 2003
aus_mortality |>
dplyr::filter(Code == "VIC", Sex == "female", Year == 2003) |>
life_table()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.