neg_max_normalization: Negative maximum normalization

Description Usage Arguments Details Value Examples

View source: R/normalization_functions.R

Description

Performs the negative maximum normalization on a non-negative numeric vector. The resulting vector is both reversed and normalized.

Usage

1

Arguments

x

Non-negative numeric vector.

Details

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.

Value

Normalized numeric vector.

Examples

1
2
3
4

ivabudimir/meNet documentation built on Dec. 20, 2021, 8:03 p.m.