Learn R Programming

BVAR (version 0.2.2)

bv_fcast: Forecast settings

Description

Provide forecast settings to bvar or predict.bvar. Allows adjusting the horizon of the forecast.

Usage

bv_fcast(horizon = 12, conditional = FALSE)

# S3 method for bv_fcast print(x, ...)

Arguments

horizon

Integer scalar. Horizon for which forecasts should be computed.

conditional

Logical scalar. Not yet implemented.

x

Object of class bv_fcast.

...

Not used.

Value

Returns a named list of class bv_fcast with options for bvar or predict.bvar.

Details

As of now only unconditional forecasts are implemented and conditional must be set to FALSE. Conditional forecasts will require further options, such as variable paths.

See Also

bvar; predict.bvar; plot.bvar_fcast

Examples

Run this code
# NOT RUN {
# Set the forecast-horizon to 20 time periods instead of 12
bv_fcast(horizon = 20)
# }

Run the code above in your browser using DataLab