shift_values | R Documentation |
eps
Shift numeric values in a data frame by an amount eps
shift_values(df, h, i, FUN = `+`, focal = NULL)
df |
a data frame or tibble. |
h |
numeric; the amount to shift values in |
i |
logical; a vector indexing columns of |
FUN |
function; a function to applut the shift. Typically |
focal |
character; the focal variable when computing partial
derivatives. This allows shifting only the focal variable by |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.