Normalize a numeric vector to be on the scale of [0,1].

normalize(x)

Arguments

x

numeric vector.

Value

Normalized x.

Examples

 normalize(1:10)