top of page

We have developed a collection of open source R packages implementing our methods:

  • dembase - general-purpose tools for demographic analysis

  • demest - Bayesian statistical methods for demography

  • demlife - creating and working with life tables

  • demdata - general-purpose example datasets for demography

  • bdefdata - example datasets for the applications in Bayesian demographic estimation and forecasting.

We have not yet put the packages on the standard R repository CRAN. For the time being, you will need to install them directly from GitHub. To do this, you will need to install the R package devtools from CRAN. Then run the following code:

library(devtools)

install_github("statisticsnz/dembase")

install_github("statisticsnz/demest")

install_github("statisticsnz/demlife")

install_github("statisticsnz/demdata)

install_github("johnrbryant/bdefdata")

The reason we have not yet put the packages on CRAN is that we are still modifying the interface and adding functionality.

bottom of page