Learn R Programming

MoLE (version 1.0.1)

RESCALE: Rescale vector values

Description

Rescale vector values to -1:1 range (or 0:1 if there are no negative values)

Usage

RESCALE(x)

Arguments

x

Vector to be rescaled

Value

Numeric vector, with abs(max value) of 1

See Also

CANDIDATESCORE, FREQUPDATE

Examples

Run this code
# NOT RUN {
RESCALE(-10:5)
# }

Run the code above in your browser using DataLab