seqplot.ts(x, y, colx = "black", coly = "red", typex = "l",
typey = "l", pchx = 1, pchy = 1, ltyx = "solid",
ltyy = "solid", oma = c(6, 0, 5, 0), ann = par("ann"),
xlab = "Time", ylab = deparse(substitute(x)), main = NULL)
x
and y
series, see plot
.x
and y
series.x
and y
series,
see lines
.par
.par
.plot.ts
the series can have different time bases,
but they should have the same frequency. Unlike ts.plot
the series can be plotted in different styles and for multivariate
x
and y
the common variables are plotted together in a
separate array element.ts
, plot.ts
data(USeconomic)
x <- ts.union(log(M1), log(GNP), rs, rl)
m.ar <- ar(x, method = "ols", order.max = 5)
y <- predict(m.ar, x, n.ahead = 200, se.fit = FALSE)
seqplot.ts(x, y)
Run the code above in your browser using DataLab