This repository includes R code for estimating mortality indicators and full life tables based on given one or two pieces of information: life expectancy, child mortality, or child and adult mortality. The implemented models are better suited to the practical needs of mortality estimation, since the input parameters are continuous yet the second one is optional.
- Make sure you have the most recent version of R
- Run the following code in your R console
# install.packages("devtools")
library(devtools)
install_github("mpascariu/MortalityEstimate")
All functions are documented in the standard way, which means that
once you load the package using library(MortalityEstimate)
you can just type ?LinearLink
to see the help file.
Check the examples provided in the wilmoth
and LinearLink
functions.