Learn R Programming

demography (version 1.20)

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

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

Arguments

object
select

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

...

Other arguments.

Value

Nothing is returned.

See Also

forecast.fdm, forecast.fdmpr.

Examples

Run this code
# 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)
# }

Run the code above in your browser using DataLab