R/utils.R
scale_this.Rd
Scale a variable by subtracting the mean and dividing by the standard deviation
scale_this(x)
a numeric vector
a numeric vector with the same length as x
scale_this(1:10) #> [1] -1.4863011 -1.1560120 -0.8257228 -0.4954337 -0.1651446 0.1651446 #> [7] 0.4954337 0.8257228 1.1560120 1.4863011