DALY-helpers: DALY Helper Functions

Description Usage Arguments Details Value Examples

Description

Set of exported helper functions.

Usage

1
2
3

Arguments

x

object generated by getDALY_per_region or getDALY_per_subregion

country

country name or integer identification number

Details

mean_age reads an age distribution from the clipboard, and calculates through linear interpolation the corresponding mean ages and WHO life expectancies.

Value

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.

Examples

1
2
3
## First country in dataset is Afghanistan
get_local_LE(1)
get_local_LE("Afghanistan")

brechtdv/FERG documentation built on May 13, 2019, 5:05 a.m.