plot.KuttnerFit {RGAP}R Documentation

Plots for a KuttnerFit object

Description

Plots potential growth and the output gap and gives diagnostic plots based on standardized residuals for objects of class KuttnerFit.

Usage

## S3 method for class 'KuttnerFit'
plot(
  x,
  alpha = 0.05,
  bounds = TRUE,
  path = NULL,
  combine = TRUE,
  prefix = NULL,
  device = "png",
  width = 10,
  height = 3,
  ...
)

Arguments

x

An object of class KuttnerFit.

alpha

The significance level for the trend (alpha in [0,1]). Only used if bounds = TRUE.

bounds

A logical indicating whether significance intervals should be plotted around gdp. The default is bounds = TRUE.

path

An optional file path. If specified, the plots will be saved using the format in device under the given path.

combine

A logical indicating whether the diagnostic plots should be combined or not, the default is TRUE.

prefix

An optional character string to be added to the names of the plots in case path is specified.

device

Device passed on to ggplot for plot saving. Options are "eps", "ps", "tex" (pictex), "pdf", "jpeg", "tiff", "png", "bmp", "svg" or "wmf".

width

The plot width in case of printing.

height

The plot height in case of printing.

...

Ignored.

Value

No return value, plots are printed.


[Package RGAP version 0.1.1 Index]