fcast.plot {BGVAR} | R Documentation |
Function to plot forecasts.
fcast.plot(fcastM,resp=NULL,Cut=40,Main=NULL,length.Out=10,b=NULL,cex.la=0.6)
fcastM |
An objected generated from function |
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 |
cex.la |
The |
Martin Feldkircher
See lso fcast
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)