MLTlookup | R Documentation |
Lookup tables containing values for various model life tables, including Coale-Demeny and UN life tables.
data(MLTlookup)
data(MLT1Ylookup)
Data frame with the following columns:
Type of the model life table. Available options are “CD_East”, “CD_North”, “CD_South”, “CD_West”, “UN_Chilean”, “UN_Far_Eastern”, “UN_General”, “UN_Latin_American”, “UN_South_Asian”. For the CD types, see Coale et al. (1983). For the UN types, see the link in References below.
Code for distinguishing sexes. 1 is for male, 2 is for female.
Starting age of an age group. In MLTlookup
these are 0, 1, 5, 10, ... 130.
The MLT1Ylookup
table contains 1-year ages ranging from 0 to 130.
Level of life expectancy, starting at 20 and going by steps of 2.5 up to 115.
Mortality rates.
Other life table columns.
An updated version of these datasets were provided by Sara Hertog, United Nations Population Division, in October 2021 (package version >= 2.6-0). For previous version of the tables, install MortCast 2.5-0: 'devtools::install_github("PPgp/MortCast@v2.5-0")'
Coale, A., P. Demeny, and B. Vaughn. 1983. Regional model life tables and stable populations. 2nd ed. New York: Academic Press.
https://www.un.org/development/desa/pd/data/extended-model-life-tables
mlt
data(MLTlookup)
str(MLTlookup)
# CD West life table for male at e0 of 80
subset(MLTlookup, type == "CD_West" & sex == 1 & e0 == 80)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.