Description Usage Arguments Details Value Examples
Change/get the WPP year which determines from which wpp package data are retrieved.
1 2 3 | set.wpp.year(wpp.year, sim.dir = NULL)
get.wpp.year()
|
wpp.year |
Currently only 2015 is available. |
sim.dir |
Simulation directory used for probability calculations. |
The package operates on the wpp2015BayesMig and wpp2015 data packages only. Using the set.wpp.year
has the side effect of clearing up used data from the memory. It can be used to change the simulation directory which has to be a directory generated by the bayesPop package.
get.wpp.year
returns the wpp year used through out the package.
1 | get.wpp.year() # by default the wpp2015 is used
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.