powered by
Utility function used to linearly normalize a numeric vector
normalize(x, ...)
a numeric vector.
Further arguments to min and max function (e.g. na.rm = TRUE)
a linearly normalized vector
# NOT RUN { normalize(rnorm(4L)) normalize(1:10) normalize(c(1,2,NA,4), na.rm = TRUE) # }
Run the code above in your browser using DataLab