MLTlookup {MortCast} | R Documentation |
Model Life Tables Lookup
Description
Lookup tables containing values for various model life tables, including Coale-Demeny and UN life tables.
Usage
data(MLTlookup)
data(MLT1Ylookup)
Format
Data frame with the following columns:
- type
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.
- sex
Code for distinguishing sexes. 1 is for male, 2 is for female.
- age
Starting age of an age group. In
MLTlookup
these are 0, 1, 5, 10, ... 130. TheMLT1Ylookup
table contains 1-year ages ranging from 0 to 130.- e0
Level of life expectancy, starting at 20 and going by steps of 2.5 up to 115.
- mx
Mortality rates.
- lx, Lx, sx
Other life table columns.
Source
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")'
References
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
See Also
Examples
data(MLTlookup)
str(MLTlookup)
# CD West life table for male at e0 of 80
subset(MLTlookup, type == "CD_West" & sex == 1 & e0 == 80)