include: Inclusion Codes

Description Usage Format Details Source Examples

Description

Data sets containing codes that determine which countries are to be included into a simulation or/and projections.

Usage

1
2
3

Format

Data frames containing one record per country or region. It has the following variables:

country

Name of country or region. Not used.

country_code

Numerical Location Code (3-digit codes following ISO 3166-1 numeric standard) - see http://en.wikipedia.org/wiki/ISO_3166-1_numeric.

include_code

Entries for which include_code=2 are included in MCMC simulations (i.e. estimation of the model parameters). Entries for which include_code is 1 or 2 are included in the prediction.

Details

In a simulation, an include_* dataset is selected that corresponds to the given wpp.year passed to the function run.tfr.mcmc. It is merged with a tfr dataset from the corresponding wpp package using the country_code column. Thus, the country entries in this dataset should correspond to entries in the tfr dataset.

The package contains also a dataset called ‘my_tfr_template’ (in ‘extdata’ directory) which is a template for user-specified TFR time series. It has the same structure as the tfr dataset, except that most of the columns are optional. The only required column is country_code (see description of the argument my.tfr.file in run.tfr.mcmc).

Source

Data provided by the United Nations Population Division.

Examples

1
2

jasonacollins/bayesTFR1 documentation built on May 23, 2019, 7:34 a.m.