Learn R Programming

RCTS (version 0.2.4)

scaling_X: Scaling of X.

Description

Scaling of X.

Usage

scaling_X(X, firsttime, robust, vars)

Value

3D-array with the same dimensions as X

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