MinMaxNorm {ModelDataComp}R Documentation

Normalize to a range

Description

Normalizes values to a given range.

Usage

MinMaxNorm(x, ext = c(0, 1), ...)

Arguments

x

values

ext

new minimum and maximum values

...

further arguments (unused)

Details

No details.

Value

vector with normalized values

Author(s)

Matthias Forkel <matthias.forkel@geo.tuwien.ac.at> [aut, cre]

References

No reference.

Examples


x <- rnorm(10, 0, 2)
n <- MinMaxNorm(x)
plot(x, n)


[Package ModelDataComp version 1.03 Index]