R/utils-data-transformations.R
norm_rescale.Rd
rescale the input vector to mean = 0, variance = 1
norm_rescale(x, na.rm = TRUE)
A numeric vector.
A logical (default = TRUE) that affects how NAs are dealt with
A rescaled vector the same length as x
x