NNS.rescale | R Documentation |
Rescale min-max scaling output between two numbers.
NNS.rescale(x, a, b)
x |
vector of data. |
a |
numeric; lower limit. |
b |
numeric; upper limit. |
Returns a rescaled distribution within provided limits.
Fred Viole, OVVO Financial Systems
## Not run:
set.seed(123)
x <- rnorm(100)
NNS.rescale(x, 5, 10)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.