tsplot: Plotting Time Series Objects

Description Usage Arguments See Also Examples

Description

Plotting method for objects inheriting from classes "ts" and "regts".

Usage

1
2
tsplot(x = ts(matrix(rnorm(150), 30, 5), start = c(1961, 1), frequency = 4),
  plot.type = "multiple")

Arguments

x

time series object, usually inheriting from class "ts" or "regts".

plot.type

for multivariate time series. multiple displays each series separately (with a common time axis), single displays all series in the same plot.

See Also

tsview, ts, regts, grepl

Examples

1
2
3
4
x = ts(matrix(rnorm(150), 30, 5), start = c(1961, 1), frequency = 4) # 5 time series

tsplot(x, "single")
tsplot(x, "multiple")

mdijkstracpb/tsview documentation built on May 22, 2019, 3:26 p.m.