NAWRUfit
objectPlots the NAWRU and the Phillip's curve and gives diagnostic plots based on
standardized residuals for objects of class NAWRUfit
.
# S3 method for NAWRUfit
plot(
x,
alpha = 0.05,
bounds = TRUE,
path = NULL,
combine = TRUE,
prefix = NULL,
posterior = FALSE,
device = "png",
width = 10,
height = 3,
...
)
No return value, plots are printed.
An object of class NAWRUfit
.
The significance level for the NAWRU (alpha in [0,1]
). Only used if
bounds = TRUE
.
A logical indicating whether significance intervals should be plotted around
the nawru. The default is bounds = TRUE
.
An optional file path. If specified, the plots will be saved using the format
in device
under the given path.
A logical indicating whether the diagnostic plots should be combined or not,
the default is TRUE
.
An optional character string to be added to the names of the plots in case
path
is specified.
A logical indicating whether posterior diagnostics should be plotted. The
default is FALSE
. Only applied in the case of bayesian estimation.
Device passed on to ggplot
for plot saving. Options are
"eps", "ps", "tex"
(pictex), "pdf", "jpeg", "tiff", "png", "bmp", "svg"
or "wmf"
.
The plot width in case of printing.
The plot height in case of printing.
Ignored.