Description Usage Arguments Value Examples
Written in C++, this function should always run faster than
diff
for calculating lagged differences for an integer
vector.
1 |
x |
Integer vector. |
lag |
Integer value. |
Integer vector.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.