Description Usage Arguments Examples
Calculating correlation of two vectors with lag and lead periods. The correlations are used to determine the lag or lead effect between two variables. The correlation function uses "na.or.complete" method and calculate the Pearson's correlation.
1 |
x |
:the moving vector |
y |
:the fixed vector |
lag |
:number of lag periods |
lead |
:number of lead periods |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.