Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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 class 'fmforecast'
models(object, select = 0, ...)

## S3 method for class '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(s)

Rob J Hyndman

See Also

Examples

## Not run: 
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)

## End(Not run)

demography

Forecasting Mortality, Fertility, Migration and Population Data

v1.22
GPL (>= 2)
Authors
Rob J Hyndman with contributions from Heather Booth, Leonie Tickle and John Maindonald.
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.