leadlag | R Documentation |
Plot leading and lagging correlations
leadlag(x1, x2, nlag)
x1 |
A vector of numeric values |
x2 |
A vector of numeric values |
nlag |
A numberic scalar for the lag-order of the autoregressive (cyclical) part |
Values for the stochastic trend and the stationary cycle
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.