first_diff | R Documentation |
Takes a vector and calculates the difference between the first element and the sum of the other elements.
first_diff(x)
x |
a numeric vector. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.