models {demography}R Documentation

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

forecast.fdm, forecast.fdmpr.

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)

[Package demography version 2.0 Index]