Learn R Programming

wppExplorer (version 1.8-1)

set.wpp.year: Edit/Retrieve WPP Year.

Description

Change/get the WPP year which determines from which wpp package data are retrieved.

Usage

set.wpp.year(wpp.year)
get.wpp.year()

Arguments

wpp.year
Possible values are 2015 (default) 2012, and 2010.

Value

get.wpp.year returns the wpp year used through out the package.

Examples

Run this code
get.wpp.year() # by default the wpp2015 is used
set.wpp.year(2010) # any subsequent operations use the wpp2010 package

Run the code above in your browser using DataLab