normalize01 | R Documentation |
Normalize numbers -> [0, 1]
normalize01(x, ...)
## S4 method for signature 'matrix'
normalize01(x, tolerance = hy.getOption("tolerance"))
## S4 method for signature 'numeric'
normalize01(x, tolerance = hy.getOption("tolerance"))
## S4 method for signature 'hyperSpec'
normalize01(x, ...)
x |
vector with values to transform |
... |
additional parameters such as |
tolerance |
tolerance level for determining what is 0 and 1 |
The input x
is mapped to [0, 1] by subtracting the minimum and subsequently dividing by
the maximum. If all elements of x
are equal, 1 is returned.
vector with x
values mapped to the interval [0, 1]
C. Beleites
wl.eval
, vanderMonde
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.