plotGap | R Documentation |
Plots the trend series and the (fitted) second observation equation and gives diagnostic plots based on standardized residuals.
plotGap(
tsl,
legend,
title,
boundName,
contribution,
res = NULL,
namesPrint,
bounds,
combine,
path,
device,
width,
height
)
tsl |
A list with two multiple time series objects for the first and second plot, respectively. |
legend |
A list with two character vectors. The first contains the legend names for the first plot and so on. |
title |
A list with the titles for the first three plots. |
boundName |
The legend name of the confidence bounds. |
contribution |
A boolean indicating whether the contributions to potential output growth and the output gap should be plotted (only applicable for production function type output gaps). |
res |
The residual series as time series. If |
namesPrint |
A character vector containing two names for the first two plots. The
remaining names are creates automatically if |
bounds |
A logical indicating whether significance intervals should be plotted around
the nawru. The default is |
combine |
A logical indicating whether the diagnostic plots should be combined or not,
the default is |
path |
An optional file path. If specified, the plots will be saved using the format
in |
device |
Device passed on to |
width |
The plot width in case of printing. |
height |
The plot height in case of printing. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.