Description Usage Arguments Details Value Examples
Set of exported helper functions.
1 2 3 | get_contrib(x)
mean_age()
get_local_LE(country)
|
x |
object generated by |
country |
country name or integer identification number |
mean_age
reads an age distribution from the clipboard, and calculates through linear interpolation the corresponding mean ages and WHO life expectancies.
get_contrib
returns vector of node contributions (ie, YLD or YLL); mean_age
returns a list of mean ages and life expectancies; get_local_LE
returns the age-specific life expectancies for the concerned country.
1 2 3 | ## First country in dataset is Afghanistan
get_local_LE(1)
get_local_LE("Afghanistan")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.