rgp (version 0.4-1)

normalize: Normalize a vector into the interval [0, 1]

Description

Normalize a vector into the interval [0, 1]

Usage

normalize(x)

Arguments

x
The vector to normalize, so that each element lies in the interval [0, 1].

Value

The normalized vector.