rescale | R Documentation |
Rescales values in the interval "from" (lower, upper) to the new interval "to" (lower, upper).
rescale(x, from, to)
x |
vector of values tp be scaled |
from |
vector of length 2, original interval (lower, upper) |
to |
vector of length 2, target interval (lower, upper) |
Tankred Ott
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.