scaling_X {RCTS} | R Documentation |
Scaling of X.
Description
Scaling of X.
Usage
scaling_X(X, firsttime, robust, vars)
Arguments
X |
input |
firsttime |
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. |
robust |
logical, scaling with robust metrics instead of with non-robust measures |
vars |
number of observable variables |
Value
3D-array with the same dimensions as X
[Package RCTS version 0.2.4 Index]