View source: R/trans_norm_minmax.R
minmax | R Documentation |
The minmax performs scales data between [0,1].
minmax = (x-min(x))/(max(x)-min(x))
minmax()
returns an object of class minmax
data(iris)
head(iris)
trans <- minmax()
trans <- fit(trans, iris)
tiris <- transform(trans, iris)
head(tiris)
itiris <- inverse_transform(trans, tiris)
head(itiris)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.