range01 {explainer} | R Documentation |
Scale the data to the range of 0 to 1. It uses the Hampel filter to adjust outliers, followed by min-max normalization.
range01(x)
x |
Vector or array of numbers to be normalized |
Normalized vector
Pearson, R. K. (1999). “Data cleaning for dynamic modeling and control”. European Control Conference, ETH Zurich, Switzerland.
normalized_vector <- range01(seq(-10:1000))