ageShift: Return the age shift of the age-shifted life table given the...

Description Usage Arguments Methods (by class) Examples

Description

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

Usage

1
2
3
4
5
6
7
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

1
2
3
4
5
6
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)

kainhofer/r-mortality-tables documentation built on Dec. 17, 2020, 3:53 a.m.