plot.iNZightMTS {iNZightTS} | R Documentation |
Plot a multiple time series object to compare several series
## S3 method for class 'iNZightMTS'
plot(
x,
compare = TRUE,
multiplicative = FALSE,
ylab = "Value",
xlab = "Date",
title = "%var",
t = 10,
smoother = TRUE,
aspect = 2,
xlim = c(NA, NA),
model.lim = NULL,
...
)
x |
Multiple time series object |
compare |
logical, if |
multiplicative |
logical, if TRUE multiplicative series will be used; otherwise additive |
ylab |
y axis label |
xlab |
x axis label |
title |
the title for the plot |
t |
smoothing parameter |
smoother |
logical, if |
aspect |
aspect ratio (width:height) for the time series |
xlim |
limits to control how much of series is shown |
model.lim |
time limits to use for modelling |
... |
additional arguments |
No return value, called for the side effect of drawing a plot.
Tom Elliott
tm <- iNZightTS(visitorsQ, var = 2:5)
plot(tm)
plot(tm, compare = FALSE)