Learn R Programming

NNS (version 11.1)

NNS.rescale: NNS rescale

Description

Rescale min-max scaling output between two numbers.

Usage

NNS.rescale(x, a, b)

Value

Returns a rescaled distribution within provided limits.

Arguments

x

vector of data.

a

numeric; lower limit.

b

numeric; upper limit.

Author

Fred Viole, OVVO Financial Systems

Examples

Run this code
if (FALSE) {
set.seed(123)
x <- rnorm(100)
NNS.rescale(x, 5, 10)
}

Run the code above in your browser using DataLab