lifeTable: Return the lifetable object (package lifecontingencies) for...

Description Usage Arguments Methods (by class) Examples

Description

Return the lifetable object (package lifecontingencies) for the cohort life table

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
lifeTable(object, ...)

## S4 method for signature 'mortalityTable'
lifeTable(object, ...)

## S4 method for signature 'array'
lifeTable(object, ...)

## S4 method for signature 'list'
lifeTable(object, ...)

## S4 method for signature ''NULL''
lifeTable(object, ...)

Arguments

object

The life table object (class inherited from mortalityTable)

...

Parameters to be passed to the deathProbabilities method of the life table

Methods (by class)

Examples

1
2
3
4
5
6
7
if (requireNamespace("lifecontingencies", quietly = TRUE)) {
library("lifecontingencies")
mortalityTables.load("Austria_Annuities")
lifeTable(AVOe2005R.male, YOB = 2017)
axn(lifeTable(AVOe2005R.male, YOB = 1975), x = 65, i = 0.03)
axn(lifeTable(AVOe2005R.male, YOB = 2017), x = 65, i = 0.03)
}

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