Scaling of X.
scaling_X(X, firsttime, robust, vars)3D-array with the same dimensions as X
input
Scaling before generating Y and before adding outliers: this is always with mean and sd. If this is FALSE, it indicates that we are using the function for a second time, after adding the outliers. In the robust case it uses median and MAD, otherwise again mean and sd.
logical, scaling with robust metrics instead of with non-robust measures
number of observable variables