add_diff | R Documentation |
Add n-difference to the dataset
add_diff(X, exclude = NULL, n = 1L)
X |
A df/tibble |
exclude |
A vector of columns names indicating columns to ignore when
computing the fd. Names can be passed directly as if they were variables in
the environment - if missing defaults to |
n |
A numeric indicating the order of the differencied variables. |
A df/tibble augmented with differencied variables.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.