predict.DoubleGap | R Documentation |
DoubleGap
Predict DoubleGap model
## S3 method for class 'DoubleGap'
predict(object, h, iter = 500, ci = c(0.8, 0.95), ...)
object |
An object of class |
h |
Number of periods for forecasting. |
iter |
Number of iterations. Default: 500 |
ci |
Confidence levels. Default: c(0.8, 0.95) |
... |
Additional arguments affecting the predictions produced. |
A list containing predicted value of best-practice life expectancy, best-practice gap, sex gap, and forecast life expectancy for females and males (together with prediction intervals).
Marius D. Pascariu
DoubleGap
# Complete examples are provided in help page of the DoubleGap function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.