lifeTable {MortalityTables} | R Documentation |
Return the lifetable object (package lifecontingencies) for the cohort life table
Description
Return the lifetable object (package lifecontingencies) for the cohort life table
Usage
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 |
Methods (by class)
-
lifeTable(mortalityTable)
: Return the lifetable object (package lifecontingencies) for the cohort life table -
lifeTable(array)
: Return the lifetable object (package lifecontingencies) from the mortalityTable objects stored in the array -
lifeTable(list)
: Return the lifetable object (package lifecontingencies) from the mortalityTable objects stored in the list -
lifeTable(`NULL`)
: Empty dummy function to handle unassigned variables
Examples
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)
}
[Package MortalityTables version 2.0.5 Index]