Learn R Programming

bayesTFR (version 4.2-0)

include: Inclusion Codes

Description

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

Usage

data(include_2008)
data(include_2010)
data(include_2012)

Arguments

docType

data

source

Data provided by the United Nations Population Division.

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).

Examples

Run this code
data(include_2012)
head(include_2012)

Run the code above in your browser using DataLab