MortalityTables2.0.5 package

A Framework for Various Types of Mortality / Life Tables

ages

Return the defined ages of the life table

ageShift

Return the age shift of the age-shifted life table given the birth yea...

baseTable

Return the base table of the life table

baseYear

Return the base year of the life table

calculateImprovements

Calculate the improvement factors for the given birth-year and the `mo...

commutationNumbers

Calculate the commutation numbers for the given parameters, using the ...

deathProbabilities

Return the (cohort) death probabilities of the life table given the bi...

deathProbabilitiesIndividual

Return a matrix of the persons' individual death probabilities of a jo...

fillAges

Fill the given probabilities with NA to match the desired age range.

fitExpExtrapolation

Fit an exponential function exp(-A*(x-x0)) to the last value (f(100) a...

generateAgeShift

Generate data.frame containing age shifts for each birth year

getCohortTable

Return the cohort life table as a mortalityTable.period object

getOmega

Return the maximum age of the life table

getPeriodTable

Return the period life table as a mortalityTable.period object

lifeTable

Return the lifetable object (package lifecontingencies) for the cohort...

makeQxDataFrame

Converts one or multiple mortality table objects to a data frame that ...

mortalityComparisonTable

Calculate relative mortalities for age bands and birth years

mortalityImprovement

Return the mortality trend (yearly log-death-probability improvement) ...

mortalityTable-class

Class mortalityTable

mortalityTable.ageShift-class

Class mortalityTable.ageShift - Cohort life tables generated by age-sh...

mortalityTable.deMoivre-class

Class mortalityTable.deMoivre - Mortality table with de Moivre's law

mortalityTable.improvementFactors-class

Class mortalityTable.improvementFactors - Cohort life table with impro...

mortalityTable.jointLives-class

Class mortalityTable.jointLives - Life table for multiple joint lives

mortalityTable.MakehamGompertz-class

Class mortalityTable.MakehamGompertz - Mortality table with Makeham-Go...

mortalityTable.mixed-class

Class mortalityTable.mixed - Life table as a mix of two life tables

mortalityTable.NA

Empty mortality table indicating NA

mortalityTable.observed-class

Class mortalityTable.observed - Life table from actual observations

mortalityTable.once

Generate a (deterministic) mortality table with only one probability s...

mortalityTable.onceAndFuture

Generate a (deterministic) mortality table with all probabilities star...

mortalityTable.period-class

Class mortalityTable.period - Period life tables

mortalityTable.trendProjection-class

Class mortalityTable.trendProjection - Cohort mortality table with age...

mortalityTable.Weibull-class

Class mortalityTable.Weibull - Mortality table with Weibull's law

mortalityTable.zeroes

Generate a mortality table with all probabilities set to zero.

MortalityTables-package

Provide life table classes for life insurance purposes

mortalityTables.list

List all available sets of life tables provided by the MortalityTables...

mortalityTables.load

Load a named set of mortality tables provided by the MortalityTables p...

mT.cleanup

Remove all non-essential data (raw data, etc.) from a mortalityTable o...

mT.extrapolateProbsExp

Extrapolate base table of a mortalityTable using an exponential functi...

mT.extrapolateTrendExp

Extrapolate a mortality trend exponentially

mT.fillAges

Restrict/expand a mortalityTable to certain ages

mT.fitExtrapolationLaw

Fit interpolation law to a mortality table and extrapolate

mT.round

Round all components of a mortality table to the given number of digit...

mT.scaleProbs

Scale all probabilities of the given mortalityTable object(s) by the...

mT.setDimInfo

Set additional information (year, description, type of risk, sex, etc....

mT.setName

Sets a new name for the given mortality table or the list/table/array ...

mT.setTrend

Set/Add a trend vector for the probabilities of the given `mortalityTa...

mT.switchover

Switch over mortalities from one table to another at a given age

mT.translate

Translate base table of a cohort mortality table to a different observ...

pensionTable-class

Class pensionTable

pensionTables.list

List all available sets of pension tables provided by the MortalityTab...

pensionTables.load

Load a named set of pension tables provided by the MortalityTables pac...

periodDeathProbabilities

Return the (period) death probabilities of the life table for a given ...

periodDeathProbabilitiesIndividual

Return a matrix of the persons' individual period death probabilities ...

periodTransitionProbabilities

Return all period transition probabilities of the pension table

plot.mortalityTable

Plot multiple mortality tables (life tables) in one plot

plotMortalityTableComparisons

Plot multiple mortality tables (life tables) in one plot, relative to ...

plotMortalityTables

Plot multiple mortality tables (life tables) in one plot

plotMortalityTrend

Plot the trends of multiple mortality tables (life tables) in one char...

pT.calculateTotalMortality

Calculate the total mortality of the pension table

pT.getSubTable

Extract a sub-table from a pensionTable

pT.setDimInfo

Set additional information (year, description, type of risk, sex, etc....

setLoading

Return a copy of the table with an additional loading added

setModification

Return a copy of the table with the given modification function added

transitionProbabilities

Return all transition probabilities of the pension table (generational...

undampenTrend

Return a mortalityTable.trendProjection object with the trend dampin...

whittaker.mortalityTable

Smooth a life table using the Whittaker-Henderson method, intepolation...

Classes to implement, analyze and plot cohort life tables for actuarial calculations. Birth-year dependent cohort mortality tables using a yearly trend to extrapolate from a base year are implemented, as well as period life table, cohort life tables using an age shift, and merged life tables. Additionally, several data sets from various countries are included to provide widely-used tables out of the box.

  • Maintainer: Reinhold Kainhofer
  • License: GPL (>= 2)
  • Last published: 2023-10-27