scaling_X: Scaling of X.

View source: R/03_IFE_algorithm_functions.R

scaling_XR 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


RCTS documentation built on May 31, 2023, 9:20 p.m.

Related to scaling_X in RCTS...