mortalityTable.ageShift-class {MortalityTables}R Documentation

Class mortalityTable.ageShift - Cohort life tables generated by age-shift

Description

A cohort life table, obtained by age-shifting from a given base table (death probabilities

Slots

ageShifts

A data.frame with columns YOB and shifts giving the age shifts for each birth year

Examples

mortalityTables.load("Austria_Annuities_AVOe2005R")
tb = mortalityTable.ageShift(
    ages = ages(AVOe2005R.male),
    deathProbs = deathProbabilities(AVOe2005R.male, YOB = 1992),
    ageShifts = generateAgeShift(1, c(1962, 1985, 2000, 2015, 2040, 2070)))
# The cohort tables for different birth years are just the base probabilities with modified ages
plot(getCohortTable(tb, YOB = 1963), getCohortTable(tb, YOB = 2017))


[Package MortalityTables version 2.0.5 Index]