Return the (period) death probabilities of the life table for a given observation year
periodDeathProbabilities(object, ..., ages = NULL, Period = 1975)# S4 method for mortalityTable.period
periodDeathProbabilities(object, ..., ages = NULL, Period = 1975)
# S4 method for mortalityTable.ageShift
periodDeathProbabilities(object, ..., ages = NULL, Period = 1975)
# S4 method for mortalityTable.trendProjection
periodDeathProbabilities(object, ..., ages = NULL, Period = 1975)
# S4 method for mortalityTable.improvementFactors
periodDeathProbabilities(object, ..., ages = NULL, Period = 1975)
# S4 method for mortalityTable.mixed
periodDeathProbabilities(object, ..., ages = NULL, Period = 1975)
# S4 method for mortalityTable.jointLives
periodDeathProbabilities(
object,
...,
ageDifferences = c(),
ages = NULL,
Period = 1975
)
# S4 method for mortalityTable.observed
periodDeathProbabilities(object, ..., ages = NULL, Period = 1975)
The life table object (class inherited from mortalityTable)
Other parameters (currently unused)
Desired age range (if NULL, the probabilities of the age range provided by the table will be returned), missing ages will be filled with NA
The observation year for which the period death probabilities should be determined
A vector of age differences of all joint lives.
mortalityTable.period
: Return the (period) death probabilities
of the life table for a given observation year
mortalityTable.ageShift
: Return the (period) death probabilities
of the life table for a given observation year
mortalityTable.trendProjection
: Return the (period) death probabilities
of the life table for a given observation year
mortalityTable.improvementFactors
: Return the (period) death probabilities
of the life table for a given observation year
mortalityTable.mixed
: Return the (period) death probabilities
of the life table for a given observation year
mortalityTable.jointLives
: Return the (period) death probabilities
of the joint lives mortality table for a given observation year
mortalityTable.observed
: Return the (period) death probabilities
of the life table for a given observation year
If the observed mortality table does not provide data
for the desired period, the period closest to the
`Period` argument will be used and a warning printed.
# NOT RUN {
mortalityTables.load("Austria_Annuities")
periodDeathProbabilities(AVOe2005R.male, Period = 1975)
periodDeathProbabilities(AVOe2005R.male, Period = 2017)
mortalityTables.load("Germany_Census")
table.JL = mortalityTable.jointLives(
name = "ADSt 24/26 auf verbundene Leben",
table = mort.DE.census.1924.26.male
)
periodDeathProbabilities(table.JL, Period = 2017, ageDifferences = c(1, 5, -5, 16))
periodDeathProbabilities(table.JL, Period = 2017, ageDifferences = c(0))
periodDeathProbabilities(table.JL, Period = 2017, ageDifferences = c(1, 5, 16))
# }
Run the code above in your browser using DataLab