Diff | R Documentation |
Works as function diff, but remains NA in the beginnig.
Diff(x, ...) ## Default S3 method: Diff(x, k = 1) ## S3 method for class 'matrix' Diff(x, k = 1)
x |
object |
... |
params |
k |
numeric, integer lag |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.