Standardize a vector
standardize.RdStandardize a vector
Examples
x <- c(1,0,1,3,3)
standardize(x)
#> [1] -0.4472136 -1.1925696 -0.4472136 1.0434984 1.0434984
standardize.RdStandardize a vector
x <- c(1,0,1,3,3)
standardize(x)
#> [1] -0.4472136 -1.1925696 -0.4472136 1.0434984 1.0434984