| LifeTable-class {demlife} | R Documentation |
An object of class LifeTable holds values for 'mx' and 'ax',
plus the life table 'radix' (ie l0). These provide sufficient information
to calculate all life table functions.
## S4 method for signature 'LifeTable' show(object)
object |
An object of class |
At present, objects of class LifeTable can only handle
single-decrement life tables. In future they will be extended to
handle multiple-decrement and multi-state life tables.
Objects of class LifeTable also holds names of the life table
functions that are displayed when the object is printed, that are
included when the object is turned into a data.frame.
mxAn object of class
Values, holding mortality
rates.
axAn object of class
Values, with the same
metadata as mx, holding separation factors.
radixA positive number.
showFunA character vector with names of life table functions.
showQuantilesTRUE or FALSE.
showTotalTRUE or FALSE.
probA numeric vector.
Objects of class LifeTable are typically created using
function LifeTable.