rescale the input vector to mean = 0, variance = 1

norm_rescale(x, na.rm = TRUE)

Arguments

x

A numeric vector.

na.rm

A logical (default = TRUE) that affects how NAs are dealt with

Value

A rescaled vector the same length as x