Scales a numeric vector to the range \([0,1]\) using min-max normalization.
This is a special case of scRange
.
Details
The scaled values are computed as: $$x_{scaled} = \frac{x - \min(x)}{\max(x) - \min(x)}$$
Equivalent to scRange(x, ra = c(0, 1))
.
See also
scRange()
for flexible output ranges.
Other NMR ++:
.hotellingsT2()