powered by
This function takes as input a vector and returns it normalized between a specified range
normalizer(dat, norm_range = c(0, 1))
vector normalized between norm_range
the vector to normalize
the range used for normalization
normalizer(c(1:10,10:1,1:10,10:1,1:10,10:1,1:10,10:1,1:10,10:1))
Run the code above in your browser using DataLab