powered by
This function rescales a vector to values between 0 and 1.
normalize_data(vec)
A vector of doubles, the normalized values of the input vector.
A numerical vector to normalize.
Marina Papadopoulou m.papadopoulou.rug@gmail.com
d <- rnorm(20, mean = 10, sd = 1) normalize_data(d)
Run the code above in your browser using DataLab