View source: R/utils_normalization.R
normalize | R Documentation |
Normalize data using min-max scale.
normalize(x)
x |
is a predictor variable that is a numeric vector to be normalized. |
A numeric vector scaled between 0 and 1.
# Normalize example use:
data <- c(10, 20, 30, 40, 50)
normalize(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.