dot-rescale: Rescale a vector given a new range

Description Usage Arguments Value

Description

Rescale a vector given a new range

Usage

1
.rescale(x, new.range, old.range = NULL)

Arguments

x

a numeric vector

new.range

a vector containing the new min and max

old.range

(optional) the old range

Value

the rescaled vector


IulianD/dsSwissKnifeClient documentation built on June 23, 2020, 4:38 p.m.