knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-"
)

demography

CRAN status cran checks R-CMD-check Downloads Licence

The R package demography provides functions for demographic analysis including: lifetable calculations; Lee-Carter modelling; functional data analysis of mortality rates, fertility rates, net migration numbers; and stochastic population forecasting.

Installation

You can install the stable version on R CRAN.

install.packages('demography', dependencies = TRUE)

You can also install the development version from Github

# install.packages("devtools")
library(devtools)
install_github("robjhyndman/demography")

License

This package is free and open source software, licensed under GPL (>= 3).



robjhyndman/demography documentation built on July 31, 2023, 1:17 a.m.