Normalize and Norm
Norm returns the euclidian norm of a vector, Normalize returns a vector with unit norm.
Normalize(x) Norm(x)
x
: Numeric vectorNormalized vector or inpout vector norm.
x <- rnorm(10) n.x <- Normalize(x) Norm(x) Norm(n.x)
Diogo Melo, Guilherme Garcia
Useful links