Description Usage Arguments Methods (by class) Examples
Return the lifetable object (package lifecontingencies) for the cohort life table
1 2 3 4 5 6 7 8 9 10 11 12 13 |
object |
The life table object (class inherited from mortalityTable) |
... |
Parameters to be passed to the |
mortalityTable
: Return the lifetable object (package lifecontingencies)
for the cohort life table
array
: Return the lifetable object (package lifecontingencies) from the mortalityTable objects stored in the array
list
: Return the lifetable object (package lifecontingencies) from the mortalityTable objects stored in the list
NULL
: Empty dummy function to handle unassigned variables
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)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.