Fit the most popular human mortality laws
, and construct full and abridge life tables given various input indices. A mortality law is a parametric function that describes the dying-out process of individuals in a population during a significant portion of their
life spans. For a comprehensive review of the most important mortality laws see Tabeau (2001). An elegant function for downloading data from Human Mortality Database is provided as well.
install.packages("MortalityLaws")
You can track and contribute to the development of MortalityLaws
on GitHub. To install it:
Install the release version of devtools
from CRAN with install.packages("devtools")
.
Make sure you have a working development environment.
Xcode
from the Mac App Store.Install the development version of MortalityLaws
.
devtools::install_github("mpascariu/MortalityLaws")
All functions are documented in the standard way, which means that once you load the package using library(MortalityLaws)
you can just type ?MortalityLaw
to see the help file.
install.packages('MortalityLaws')