block.scale {ClustVarLV}R Documentation

Scaling of a three-way array

Description

Centering and scaling of a three-way array

Usage

block.scale(X, xcenter = TRUE, xscale = 0)

Arguments

X

: a three-way array

xcenter

: centering of X. By default X will be centered for both mode 2 and 3 (xcenter=TRUE), otherwise xcenter=FALSE

xscale

: scaling parameter applied to X. By default no scaling (xscale=0)
0 : no scaling only centering - the default
1 : scaling with standard deviation of (mode 2 x mode 3) elements
2 : global scaling (each block i.e. each mode 2 slice will have the same inertia )
3 : global scaling (each block i.e. each mode 3 slice will have the same inertia )

Value

Xscaled : the scaled three-way array


[Package ClustVarLV version 2.1.1 Index]