Learn R Programming

⚠️There's a newer version (1.3.12) of this package.Take me there.

The lifecontingencies package

Classes and methods for managing life tables (for single and multiple decrements) and actuarial tables. Moreover, functions to easily perform demographic, financial and actuarial mathematics on life contingencies insurances calculations are contained therein.

Install the current release from CRAN:

install.packages('lifecontingencies')

Install the development version from GitHub:

devtools::install_github('spedygiorgio/lifecontingencies')

Copy Link

Version

Install

install.packages('lifecontingencies')

Monthly Downloads

852

Version

1.2.1

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Giorgio Spedicato

Last Published

July 7th, 2016

Functions in lifecontingencies (1.2.1)

axyn

Functions to evaluate life insurance and annuities on two heads.
demoCanada

Canada Mortality Rates for UP94 Series
accumulatedValue

Function to evaluate the accumulated value.
demoChina

China Mortality Rates for life table construction
decreasingAnnuity

Function to evaluate decreasing annuities.
actuarialtable-class

Class "actuarialtable"
annuity

Annuity function
DAxn

Decreasing life insurance
AExn

Function to evaluate the n-year endowment insurance
Axn

Function to evaluate life insurance.
demoFrance

French population life tables
demoJapan

Japan Mortality Rates for life table construction
demoIta

Italian population life tables for males and females
duration

Functions to evaluate duration and convexity
demoGermany

German population life tables
Exn

Function/method to calculate the expected life.
getDecrements

Function to return the decrements defined in the mdt class
demoUk

UK life tables
demoUsa

United States Social Security life tables
lifetable-class

Class "lifetable"
rmdt

Simulate from a multiple decrement table
Lxt

Number of person - years lived.
rLifeContingenciesXyz

Function to return samples from lifecontingencies on multiple heads
Tx

Number of person-years lived after exact age x
Uk life tables

Uk AM AF 92 life tables
presentValue

Present value of a series of cash flows.
Iaxn

Increasing life insurance
effective2Convertible

Function to switch from nominal / effective / convertible rates
rLife

Function to generate random future lifetimes
rLifeContingencies

Function to generate samples from the life contingencies stochastic variables.
intensity2Interest

Functions to switch from interest to intensity and vice versa.
increasingAnnuity

Increasing annuity.
mx2qx

Mortality rates to Death probabilities
mxt

Central mortality rate.
SoAISTdata

SoA illustrative service table
soaLt

Society of Actuaries life table.
getLifecontingencyPv

Functions to obtain the present value of a life contingency given the time to death
getOmega

Function to return the terminal age of a life table.
Axyzn

Multiple lifes insurances and annuities
multiple life probabilities

Functions to deals with multiple life models
soa08Act

Society of Actuaries Illustrative Life Table with interest rate at 6
soa08

Society of Actuaries Illustrative Life Table object.
probs2lifetable

Life table from probabilities
pxt

Functions to evaluate survival, death probabilities and deaths.
Isn

Function to calculated accumulated increasing annuity future value.
mdt-class

Class "mdt"
lifecontingencies-package

Package to perform actuarial mathematics on life contingencies and classical financial mathematics calculations.
qx2mx

Death Probabilities to Mortality Rates
pxyt

Functions to evaluate joint survival probabilities.
Axn.mdt

Multiple decrement life insurance