actuarialtable-class: Class '"actuarialtable"'

actuarialtable-classR Documentation

Class "actuarialtable"

Description

Objects of class "actuarialtable" inherit the structure of class "lifetable" adding just the slot for interest rate, interest.

Objects from the Class

Objects can be created by calls of the form new("actuarialtable", ...). Creation is the same as lifetable objects creation, the slot for interest must be added too.

Slots

interest:

Object of class "numeric" slot for interest rate, e.g. 0.03

x:

Object of class "numeric" age slot

lx:

Object of class "numeric" subjects at risk at age x

name:

Object of class "character" name of the actuarial table

Extends

Class "lifetable", directly.

Methods

coerce

signature(from = "actuarialtable", to = "data.frame"): moves from actuarialtable to data.frame

coerce

signature(from = "actuarialtable", to = "numeric"): coerce from actuarialtable to a numeric

getOmega

signature(object = "actuarialtable"): as for lifetable

print

signature(x = "actuarialtable"): tabulates the actuarial commutation functions

show

signature(object = "actuarialtable"): show method

summary

signature(object = "actuarialtable"): prints brief summary

Warning

The function is provided as is, without any warranty regarding the accuracy of calculations. The author disclaims any liability for eventual losses arising from direct or indirect use of this software.

Note

The interest slot will handle time-varying interest rates in the future.

Author(s)

Giorgio A. Spedicato

References

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

See Also

axn,lifetable

Examples

showClass("actuarialtable")

spedygiorgio/lifecontingencies documentation built on Feb. 29, 2024, 2:59 p.m.