powered by
lag2.plot(series1, series2, max.lag = 0, corr = TRUE, smooth = TRUE)
lag2.plot(rnorm(100), runif(100), 5)
Run the code above in your browser using DataLab