plot.vlstarpred: Plot methods for a vlstarpred object

Description Usage Arguments Value Author(s) See Also

View source: R/plot.vlstarpred.R

Description

Plot method for objects with class attribute vlstarpred.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
## S3 method for class 'vlstarpred'
plot(
  x,
  type = c("single", "multiple"),
  names = NULL,
  main = NULL,
  xlab = NULL,
  ylab = NULL,
  lty.obs = 2,
  lty.pred = 1,
  lty.ci = 3,
  lty.vline = 1,
  lwd.obs = 1,
  lwd.pred = 1,
  lwd.ci = 1,
  lwd.vline = 1,
  col.obs = NULL,
  col.pred = NULL,
  col.ci = NULL,
  col.vline = NULL,
  ylim = NULL,
  mar = par("mar"),
  oma = par("oma"),
  ...
)

Arguments

x

An object of class ‘vlstarpred’.

type

Character, if multiple all plots are drawn in a single device, otherwise the plots are shown consecutively.

names

Character vector, the variables names to be plotted. If left NULL, all variables are plotted.

main

Character vector, the titles of the plot.

xlab

Character vector signifying the labels for the x-axis.

ylab

Character vector signifying the labels for the y-axis.

lty.obs

Vector, lty for the plot of the observed values.

lty.pred

Vector, lty for the plot of the predicted values.

lty.ci

Vector, lty for the interval forecast.

lty.vline

Vector, lty for the vertical line.

lwd.obs

Vector, lwd for the plot of the observed values.

lwd.pred

Vector, lwd for the plot of the predicted values.

lwd.ci

Vector, lwd for the interval forecast.

lwd.vline

Vector, lwd for the vertical line.

col.obs

Character vector, colors for the observed values.

col.pred

Character vector, colors for the predicted values.

col.ci

Character vector, colors for the interval forecast.

col.vline

Character vector, colors for the vertical line.

ylim

Vector, the limits of the y-axis.

mar

Setting of margins.

oma

Setting of outer margins.

...

Passed to internal plot function.

Value

Plot of predictions from VLSTAR with their prediction interval

Author(s)

Andrea Bucci

See Also

predict.VLSTAR


starvars documentation built on Jan. 18, 2022, 1:08 a.m.