fle.plot:
Miscellaneous plotting functions for lca and lca.rh type regression objects.
Plot of forecasted life expectancy based on a fitted Lee-Carter model object
Description
Compute the historical and forecasted life expectancy from a fitted LC object and plot them in a single (overlay) figure.
Usage
fle.plot(lca.obj, at = 65, ...)
Arguments
lca.obj
an object of class lca
at
target age at which to calculate life expectancy
...
additional arguments to forecast function
Value
Plot
Details
It makes use of the life.expectancy and forecast functions from the demography and forecast packages, respectively, in order to compute life expectancy at the specified target age.