lifeTable: Life Tables

Description Usage Arguments Examples

View source: R/lifeTables.R

Description

This function allows you to easily download personalized Life Tables from the Eurostat website.

Usage

1
2
lifeTable(geo = NULL, sex = NULL, time = NULL, age = NULL,
  indic_de = NULL)

Arguments

geo

Select a state or a group of states: AL AT BE BG CH CY CZ DE DE_TOT DK EA18 EA19 EE EEA30 EEA31 EFTA EL ES EU27 EU28 FI FR HR HU IE IS IT LI LT LU LV ME MK MT NL NO PL PT RO RS SE SI SK TR UK AZ BY GE RU UA AD FX MD SM AM

sex

Select the gender: M F T

time

Select the year from 1960

age

Select the age from 0 to 85

indic_de

Select the demographic indicator: Mx (Age specific death rate),ex (Life expectancy at given exact age),qx (Probability of dying between ages), px (Probability of surviving between exact ages), Lx (Person-years lived between exact age), lx (Number left alive at given exact age), Tx (Total person-years lived above given exact age)

Examples

1
lT <- lifeTable(geo="IT",sex="M",time=2000,indic_de="px")

gfarinacci/lifeTables documentation built on May 17, 2019, 2:11 a.m.