ageShift | R Documentation |
Return the age shift of the age-shifted life table given the birth year
ageShift(object, YOB = 1975, ...)
## S4 method for signature 'mortalityTable'
ageShift(object, YOB = 1975, ...)
## S4 method for signature 'mortalityTable.ageShift'
ageShift(object, YOB = 1975, ...)
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) |
ageShift(mortalityTable)
: Age shifts apply only to mortalityTagle.ageShift, so
all other tables return NA.
ageShift(mortalityTable.ageShift)
: Return the age shift of the age-shifted life table
given the birth year
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.