All Projects → mpascariu → MortalityLaws

mpascariu / MortalityLaws

Licence: other
Fit and compare the most popular human mortality laws - R package

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to MortalityLaws

mortAAR
R Package - Analysis of Archaeological Mortality Data
Stars: ✭ 13 (-27.78%)
Mutual labels:  demography
demography
demography package for R
Stars: ✭ 44 (+144.44%)
Mutual labels:  demography
PM COVID
Public Available Code and Data to Reproduce Analyses in "Air pollution and COVID-19 mortality in the United States: Strengths and limitations of an ecological regression analysis."
Stars: ✭ 97 (+438.89%)
Mutual labels:  mortality
nomisr
Access UK official statistics from the Nomis database through R.
Stars: ✭ 30 (+66.67%)
Mutual labels:  demography
insurancerating
R-package for actuarial pricing
Stars: ✭ 40 (+122.22%)
Mutual labels:  actuarial-science
wcde-shiny
Wittgenstein Centre Data Explorer
Stars: ✭ 13 (-27.78%)
Mutual labels:  demography
wikirepo
Python based Wikidata framework for easy dataframe extraction
Stars: ✭ 33 (+83.33%)
Mutual labels:  demography
fgeo
[Meta R-package on CRAN] Analyse forest diversity and dynamics
Stars: ✭ 22 (+22.22%)
Mutual labels:  demography

MortalityLaws: Parametric Mortality Models, Life Tables and HMD

CRAN_Version codecov issues

lifecycle license CRAN_Download_Badge1 CRAN_Download_Badge2

Fit the most popular human mortality laws, and construct full and abridged 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). Function for downloading demographic data from the following sources are provided:

Installation

  1. Make sure you have the most recent version of R
  2. Run the following code in your R console
install.packages("MortalityLaws")

Updating to the latest version of the package

You can track and contribute to the development of MortalityLaws on GitHub. To install it:

  1. Install the release version of devtools from CRAN with install.packages("devtools").

  2. Make sure you have a working development environment.

    • Windows: Install Rtools.
    • Mac: Install Xcode from the Mac App Store.
    • Linux: Install a compiler and various development libraries (details vary across different flavors of Linux).
  3. Install the development version of MortalityLaws.

    devtools::install_github("mpascariu/MortalityLaws")

Help

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].