-
Notifications
You must be signed in to change notification settings - Fork 25
/
README.Rmd
50 lines (37 loc) · 1.68 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
output: github_document
editor_options:
chunk_output_type: console
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-"
)
```
# demography
<!-- badges: start -->
[![CRAN status](https://www.r-pkg.org/badges/version/demography)](https://cran.r-project.org/package=demography)
[![cran checks](https://badges.cranchecks.info/worst/demography.svg)](https://cran.r-project.org/web/checks/check_results_demography.html)
[![R-CMD-check](https://github.com/robjhyndman/demography/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/robjhyndman/demography/actions/workflows/R-CMD-check.yaml)
[![Downloads](https://cranlogs.r-pkg.org/badges/demography)](https://cran.r-project.org/package=demography)
[![Licence](https://img.shields.io/badge/licence-GPL--3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.en.html)
<!-- badges: end -->
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](https://CRAN.R-project.org/package=demography).
```r
install.packages('demography', dependencies = TRUE)
```
You can also install the **development** version from
[Github](https://github.com/robjhyndman/demography)
```r
# install.packages("devtools")
library(devtools)
install_github("robjhyndman/demography")
```
## License
This package is free and open source software, licensed under GPL (>= 3).