A family of functions to 'recenter' a vector around a new value. This changes the ratios between values of x, while preserving the differences between the values.
1 2 3 4 5 6 7 8 9 10 11 |
x |
a numeric vector |
diff |
The number should be removed from each value of x |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.