demography (version 1.22)

models: Show model information for the forecast coefficients in FDM models.

Description

The models for the time series coefficients used in forecasting fdm models are shown.

Usage

models(object, ...)

# S3 method for fmforecast models(object, select = 0, ...)

# S3 method for fmforecast2 models(object, ...)

Arguments

object

Output from forecast.fdm or forecast.fdmpr.

...

Other arguments.

select

Indexes of coefficients to display. If select=0, all coefficients are displayed.

Author

Rob J Hyndman

See Also

forecast.fdm, forecast.fdmpr.

Examples

Run this code
if (FALSE) {
fr.short <- extract.years(fr.sm,1950:2006)
fr.fit <- fdm(fr.short,series="male")
fr.fcast <- forecast(fr.fit)
models(fr.fcast)

fr.fit <- coherentfdm(fr.short)
fr.fcast <- forecast(fr.fit)
models(fr.fcast,select=1:3)
}

Run the code above in your browser using DataCamp Workspace