Miscellaneous plotting functions for lca and lca.rh type regression objects. Plot of forecasted life expectancy based on a fitted Lee-Carter model object
Compute the historical and forecasted life expectancy from a fitted LC object and plot them in a single (overlay) figure.
fle.plot(lca.obj, at = 65, ...)
lca.obj |
an object of class |
at |
target age at which to calculate life expectancy |
... |
additional arguments to |
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.
Plot
Z. Butt and S. Haberman and H. L. Shang
mod6 <- lca.rh(dd.cmi.pens, mod='lc', interpolate=TRUE) fle.plot(mod6, at=60, h=30, level=90)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.