MinMaxNorm: Normalize to a range

Description Usage Arguments Details Value Author(s) References Examples

Description

Normalizes values to a given range.

Usage

1
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

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

ModelDataComp documentation built on May 31, 2017, 1:35 a.m.