Description Usage Arguments Value Examples
Wrapper to diff() function that fills in user-defined values (e.g. NA) at the beginning of the resulting vector
1 |
x |
numeric/integer vector (see help for diff()) |
lag |
(see help for diff()) |
differences |
(see help for diff()) |
fill |
value to fill in missing values |
vector of the same length and as x
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.