powered by
Plot a multiple time series object to compare several series
# S3 method for 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, ... )
No return value, called for the side effect of drawing a plot.
Multiple time series object
logical, if true, the series will be graphed in a single plot; otherwise graphed in individual rows
true
logical, if TRUE multiplicative series will be used; otherwise additive
y axis label
x axis label
the title for the plot
smoothing parameter
logical, if TRUE the smoother will be drawn
TRUE
aspect ratio (width:height) for the time series
limits to control how much of series is shown
time limits to use for modelling
additional arguments
Tom Elliott
tm <- iNZightTS(visitorsQ, var = 2:5) plot(tm) plot(tm, compare = FALSE)
Run the code above in your browser using DataLab