mortalityTable.jointLives-class: Class mortalityTable.jointLives - Life table for multiple...

Description Slots Examples

Description

A cohort life table obtained by calculating joint death probabilities for multiple lives, each possibly using a different mortality table.

Slots

table

The mortalityTable object for all lives (vector if different tables should be used for the different persons)

Examples

1
2
3
4
5
6
7
8
mortalityTables.load("Germany_Census")
table.JL = mortalityTable.jointLives(
    name = "ADSt 24/26 auf verbundene Leben",
    table = mort.DE.census.1924.26.male
)
deathProbabilities(table.JL, YOB = 1977, ageDifferences = c(1, 5, -5, 16))
deathProbabilities(table.JL, YOB = 1977, ageDifferences = c(0))
deathProbabilities(table.JL, YOB = 1977, ageDifferences = c(1, 5, 16))

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