Learn R Programming

lifecontingencies (version 1.3.12)

Lxt: Various demographic functions

Description

Various demographic functions

Usage

Lxt(object, x, t = 1, fxt = 0.5)

Tx(object, x)

Value

A numeric value

Arguments

object

a lifetable or actuarialtable object

x

age of the subject

t

duration of the calculation

fxt

correction constant, default 0.5

Author

Giorgio Alfredo Spedicato.

Details

Tx il the sum of years lived since age x by the population of the life table, it is the sum of Lx. The function is provided as is, without any warranty regarding the accuracy of calculations. Use at own risk.

References

Actuarial Mathematics (Second Edition), 1997, by Bowers, N.L., Gerber, H.U., Hickman, J.C., Jones, D.A. and Nesbitt, C.J.

Examples

Run this code
data(soaLt)
soa08Act=with(soaLt, new("actuarialtable",interest=0.06,
x=x,lx=Ix,name="SOA2008"))
Lxt(soa08Act, 67,10)
#assumes SOA example life table to be load
data(soaLt)
soa08Act=with(soaLt, new("actuarialtable",interest=0.06,x=x,lx=Ix,name="SOA2008"))
Tx(soa08Act, 67)

Run the code above in your browser using DataLab