Description Usage Arguments Details Value Author(s) Examples
Normalizes a vector using the Min-Max Feature scaling method (a.k.a unity-based normalization)
1 | norm.vector(x, a.b = NULL)
|
x |
A vector |
a.b |
A vector that indicates the minimum and maximum scaling values |
Feature scaling is used to bring all values into the range [0,1]. This is also called unity-based normalization. When 'a.b = NULL' (default), the highest and lowest values in 'x' will turn to 1 and 0, respectively, while all values in between will be re-scaled. Defining 'a.b' will bring all values into the range [a,b].
A normalized vector
Alejandro Linares
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.