powered by
Standardize (Z-score, "normalize") a vector.
# S3 method for numeric standardize(x, normalize = FALSE, ...)
Numeric vector.
Will perform a normalization instead of a standardization. This scales all numeric variables in the range 0 - 1.
Arguments passed to or from other methods.
# NOT RUN { standardize(x = c(1, 4, 6, 2)) standardize(x = c(1, 4, 6, 2), normalize = TRUE) # }
Run the code above in your browser using DataLab