plot.NAWRUfit {RGAP}R Documentation

Plots for a NAWRUfit object

Description

Plots the NAWRU and the Phillip's curve and gives diagnostic plots based on standardized residuals for objects of class NAWRUfit.

Usage

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

Arguments

x

An object of class NAWRUfit.

alpha

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

bounds

A logical indicating whether significance intervals should be plotted around the nawru. 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.

posterior

A logical indicating whether posterior diagnostics should be plotted. The default is FALSE. Only applied in the case of bayesian estimation.

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]