ageShift {MortalityTables}R Documentation

Return the age shift of the age-shifted life table given the birth year

Description

Return the age shift of the age-shifted life table given the birth year

Usage

ageShift(object, YOB = 1975, ...)

## S4 method for signature 'mortalityTable'
ageShift(object, YOB = 1975, ...)

## S4 method for signature 'mortalityTable.ageShift'
ageShift(object, YOB = 1975, ...)

Arguments

object

The life table object (class inherited from mortalityTable)

YOB

The birth year for which the age shift should be determined.

...

Other parameters (currently unused)

Methods (by class)

Examples

mortalityTables.load("Austria_Annuities")
ageShift(AVOe2005R.male.av, YOB=1910)
ageShift(AVOe2005R.male.av, YOB=1955)
ageShift(AVOe2005R.male.av, YOB=2010)
# A table with trend does NOT have any age shift, so NA is returned:
ageShift(AVOe2005R.male, YOB=1910)


[Package MortalityTables version 2.0.5 Index]