Standardlize the data to elimilate the effect of scale
standard(X)
X
the original data
standarlized data
Linsui Deng
#data generata Y <- rnorm(100)*2+5 Y_sta <- standard(Y)