censcale {mclust1998} | R Documentation |
Transforms a data set by subtracting the column mean from each column and dividing each column by the square root of its variance when the latter is sufficiently large in magnitude.
censcale(x, tol = 0.0001)
x |
Matrix of observations. |
tol |
Threshold for column scaling. A column is divided by the square root of its
variance (standard deviation) when that quantity exceeds tol , The default
value is 0.0001 .
|
The centered and scaled matrix of observations.
data(iris) iris.sc <- censcale(iris[,1:4])