Learn R Programming

Indicator (version 0.1.3)

min_max: Min-max normalization

Description

Min-max normalization transforms each value by subtracting its minimum and dividing by its range (maximum-minimum). The result is a new variable with a minimum of zero and a maximum of one

Usage

min_max(data)

Value

It returns a datafame of normalized data

Arguments

data

dataframe with rows = observations and columns = quantiative variables

Details

Change the value of variable to negative if it has negative polarity

References

OECD/European Union/EC-JRC (2008), Handbook on Constructing Composite Indicators: Methodology and User Guide, OECD Publishing, Paris, <https://doi.org/10.1787/9789264043466-en>

Examples

Run this code

data("Education")
Normalization=min_max(Education)
print(Normalization)

Run the code above in your browser using DataLab