fcast.plot {BGVAR}R Documentation

Forecast plot

Description

Function to plot forecasts.

Usage

fcast.plot(fcastM,resp=NULL,Cut=40,Main=NULL,length.Out=10,b=NULL,cex.la=0.6)

Arguments

fcastM

An objected generated from function fcast.

resp

The variable for which the forecast should be plotted.

Cut

How many observations should be concatenated to the forecasts (zero to plot only forecasts without realized data).

Main

The title of the plot.

length.Out

The intervall to plot labels on the x-axis.

b

A vector of length 2. Specifies the range of the y-axis. If set to NULL, then the range is automatically set.

cex.la

The cex argument for the axis labels.

Author(s)

Martin Feldkircher

See Also

See lso fcast

Examples

library(BGVAR)
data(eerData)
model.sims<-bgvar(Data=eer.data,W=W.trade0012,saves=100,burns=100,plag=1,Cpu=4,prior="SIMS",save_thin=1,eigen=TRUE,logfile=FALSE,stats=TRUE)

fcastM<-fcast(model.sims,h=0,fhorz=8)
fcast.plot(fcastM,resp="US.y",Cut=20,length.Out=10)


[Package BGVAR version 1.1.3 Index]