NNS.rescale {NNS}R Documentation

NNS rescale

Description

Rescale min-max scaling output between two numbers.

Usage

NNS.rescale(x, a, b)

Arguments

x

vector of data.

a

numeric; lower limit.

b

numeric; upper limit.

Value

Returns a rescaled distribution within provided limits.

Author(s)

Fred Viole, OVVO Financial Systems

Examples

## Not run: 
set.seed(123)
x <- rnorm(100)
NNS.rescale(x, 5, 10)

## End(Not run)

[Package NNS version 10.8.2 Index]