dp.inputs.life.table | R Documentation |
Spectrum users may select a life table from a list of model life tables, or use a country-specific life table based on the latest World Population Prospects revision. This function indicates which selection the user made.
dp.inputs.life.table(dp.raw, direction = "wide")
dp.raw |
DemProj module data in raw format, as returned by
|
direction |
Request "wide" (default) or "long" format data. |
The life table name as a factor
dp.inputs.life.table
just indicates which life table was selected.
Life table indicators can be accessed separately: dp.inputs.surv
returns survival ratios, and dp.inputs.e0
returns life expectancy at
birth. To keep projection file sizes small, most other common life table
indicators are not saved.
Supported life tables include:
Coale-Demeny West
Coale-Demeny North
Coale-Demeny East
Coale-Demeny South
UN General
UN Chile
UN South Asia
UN East Asia
Country-specific (usually based on the latest WPP revision)
Custom
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.