| values.to.range | R Documentation |
Linearly maps the values to the target range. Values which are all identical (or a single value) are mapped to the middle of the range.
values.to.range(x, target_range)
x |
numeric vector, the input values. |
target_range |
numeric vector of length 2, the target range. |
numeric vector of the same length as x, the scaled values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.