Description Usage Arguments Value Examples
Finds the difference between two vector components, n places apart. Like diff(), but faster and pads missing values with 0.
1 | difn(x, n = 1)
|
x |
a numeric vecor |
n |
an integer, pos or neg |
numeric vector
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.