Usage
leecart(data, n = 10, concise = TRUE, ...)
Arguments
- data
Dataframe with the following columns: age, year, mx
- n
Numeric. Forecasted horizon
- concise
Logical. Should results be restricted? TRUE
for just forecast, FALSE
for full data
- ...
Optional. Additional arguments for LT
function.
- sex
Character. Sex. "m" for males or "f" for females.
Value
Dataframe with the projected mx and ex for t+n periods with mean, low95 and high 95 values
References
Lee, R. D., & Carter, L. R. (1992). Modeling and forecasting US mortality. Journal of the American statistical association, 87(419), 659-671.