minmax: Min-max normalization

View source: R/trans_norm_minmax.R

minmaxR Documentation

Min-max normalization

Description

The minmax performs scales data between [0,1].

minmax = (x-min(x))/(max(x)-min(x))

Usage

minmax()

Value

returns an object of class minmax

Examples

data(iris)
head(iris)

trans <- minmax()
trans <- fit(trans, iris)
tiris <- transform(trans, iris)
head(tiris)

itiris <- inverse_transform(trans, tiris)
head(itiris)

daltoolbox documentation built on Nov. 3, 2024, 9:06 a.m.