normalize_vector.Rd
Normalize a vector by max absolute value
normalize_vector(x)
numeric vector, a vector of numbers
numeric vector, the vector divided by the largest absolute value in the vector
a <- c(1,2,3) normalize_vector(a)#> [1] 0.3333333 0.6666667 1.0000000