View source: R/public_functions.R
Normalizes a vector of numbers to a range of zero to one.
1 2 |
x |
The vector to normalize |
old_min |
The minimum of the old range |
old_max |
The maximum of the old range |
new_min |
The minimum of the new range, defaults to 0 |
new_max |
The maximum of the new range, defaults to 1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.