minmax {daltoolbox} | R 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)
[Package daltoolbox version 1.0.767 Index]