include | R Documentation |
Datasets containing codes that determine which countries are to be included into a simulation or/and projections.
data(include_2022)
data(include_2019)
data(include_2017)
data(include_2015)
data(include_2012)
data(include_2010)
Data frames containing one record per country or region. It has the following variables:
Name of country or region. Not used.
Numerical Location Code (3-digit codes following ISO 3166-1 numeric standard) - see https://en.wikipedia.org/wiki/ISO_3166-1_numeric.
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.
In a simulation, an include_*
dataset is selected that corresponds to the given wpp.year
passed to the function run.e0.mcmc
. It is merged with an e0
dataset from the corresponding wpp package using the country_code
column. Thus, the country entries in this dataset should correspond to entries in the e0F
(e0M
) dataset.
The package contains also a dataset called ‘my_e0_template’ (in ‘extdata’ directory) which is a template for user-specified e0 time series. It has the same structure as the e0
dataset, except that most of the columns are optional. The only required column is country_code
(see description of the argument my.e0.file
in run.e0.mcmc
).
In all three datasets, countries affected by AIDS are not included in the estimation, i.e. the include_code
is set to 3.
Data provided by the United Nations Population Division.
data(include_2019)
head(include_2019)
# select AIDS countries
subset(include_2019, include_code == 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.