Learn R Programming

wppExplorer (version 1.0-3)

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 2008, 2010, 2012 (default).

Value

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

Examples

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

Run the code above in your browser using DataLab