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

obj

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 May 29, 2024, 1:57 a.m.