Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

MortalityTables (version 2.0)

deathProbabilitiesIndividual: Return a matrix of the persons' individual death probabilities of a joint-life table (instance of mortalityTable.jointLives)

Description

Return a matrix of the persons' individual death probabilities of a joint-life table (instance of mortalityTable.jointLives)

Usage

deathProbabilitiesIndividual(tables, YOB, ageDifferences)

Arguments

tables

List of life table objects (object inherited from mortalityTable)

YOB

The birth year for the first person

ageDifferences

The age differences to the first person

Examples

Run this code
# NOT RUN {
mortalityTables.load("Germany_Census")
deathProbabilitiesIndividual(list(mort.DE.census.1924.26.male), 1977, c(0, 0))
deathProbabilitiesIndividual(list(mort.DE.census.1924.26.male), 1977, c(0, -5, 13))

# }

Run the code above in your browser using DataLab