rescale | R Documentation |
Rescale a series between two bounds
rescale(x, low = 0, high = 1)
x |
Numeric vector |
low |
Numeric, lower bound |
high |
Numeric, higher bound |
a rescaled numeric vector
# example code
rescale(1:10)
rescale(rnorm(10), 100, 101)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.