tsdisplay

0th

Percentile

Time series display

Plots a time series along with its acf and either its pacf, lagged scatterplot or spectrum.

Keywords
ts
Usage
tsdisplay(x, plot.type=c("partial","scatter","spectrum"), points=TRUE, ci.type="white", 
    lag.max, na.action=na.contiguous, 
    main=NULL, xlab="", ylab="", pch=1, cex=0.5, ...)
Arguments
x
a numeric vector or time series.
plot.type
type of plot to include in lower right corner.
points
logical flag indicating whether to show the individual points or not in the time plot.
ci.type
type of confidence limits for ACF. Possible values are as for acf.
lag.max
the maximum lag to plot for the acf and pacf. A suitable value is selected by default if the argument is missing.
na.action
function to handle missing values in acf, pacf and spectrum calculations. The default is na.contiguous. Useful alternatives are na.pass and <
main
Main title.
xlab
X-axis label.
ylab
Y-axis label.
pch
Plotting character.
cex
Character size.
...
additional arguments to acf.
Value

  • None.

References

Hyndman and Athanasopoulos (2014) Forecasting: principles and practice, OTexts: Melbourne, Australia. http://www.otexts.org/fpp/

See Also

plot.ts, Acf, spec.ar

Aliases
  • tsdisplay
Examples
tsdisplay(diff(WWWusage))
Documentation reproduced from package forecast, version 6.0, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.