Description Usage Arguments Details Value Examples
Start the life-table at a later age.
1 |
pash |
A pace-shape object. |
origin |
The age the life table should be rebased to. |
The life table is truncated to the new origin age and the lx at origin set to 1. ndx, nLx, Tx and ex columns are re-calculated.
A pace-shape object.
1 2 3 4 5 6 7 8 9 | # generate pace-shape object
pash <- Inputlx(x = prestons_lx$x, lx = prestons_lx$lx)
# rebase life table to age 50
lt50 <- RebaseLT(pash, 50)
lt50
# the rebase operation is reversible
lt0 = RebaseLT(lt50, 0)
lt0
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.