Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

lag1.plot

Lag Plot - one time series


Description

Produces a grid of scatterplots of a series versus lagged values of the series.

Usage

lag1.plot(series, max.lag = 1, corr = TRUE, smooth = TRUE, col = gray(.1), ...)

Arguments

series

the data

max.lag

maximum lag

corr

if TRUE, shows the autocorrelation value in a legend

smooth

if TRUE, adds a lowess fit to each scatterplot

col

color of points; default is gray(.1)

...

additional graphical arguments

Author(s)

D.S. Stoffer

References

See Also

Examples

lag1.plot(soi, 9, col=4)
lag1.plot(soi, max.lag=4, pch=20, cex=1.5, col=rgb(0,.5,1,.5))

astsa

Applied Statistical Time Series Analysis

v1.12
GPL-3
Authors
David Stoffer
Initial release
2020-12-20

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.