Description Usage Arguments Details Value Examples
View source: R/normalization_functions.R
Performs the negative maximum normalization on a non-negative numeric vector. The resulting vector is both reversed and normalized.
1 | neg_max_normalization(x = numeric(0))
|
x |
Non-negative numeric vector. |
For negative maximum normalization of a vector, difference between the maximum and minimal value of the vector is added tothe inverse value of every element and the result is divided with the original maximum value. Used formula: '(max(x)-min(x)-x)/max(x)'.
If the negative maximum normalization is applied twice to a non-negative vector, obtained result is the same as if the maximum normalization was applied once.
Normalized numeric vector.
1 2 3 4 | {
neg_max_normalization(c(1,2,3,4))
neg_max_normalization(neg_max_normalization(c(1,2,3,4)))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.