ComputeSplus function

ComputeSplus

ComputeSplus

Compute the compromise matrix for STATIS/DISTATIS

ComputeSplus(CubeCP, alpha)

Arguments

  • CubeCP: A 3D array of cross-product matrices.
  • alpha: The vector of weights

Returns

The compromise matrix computed as the alpha-weighted sum of the cross-product matrices.

Examples

D3 <- array(c(0, 1, 2, 1, 0, 1, 2, 1, 0, 0, 3, 3, 3, 0, 3, 3, 3, 0), dim = c(3, 3, 2)) ComputeSplus(D3, alpha = c(1, 0.5))
  • Maintainer: Herve Abdi
  • License: GPL-2
  • Last published: 2022-12-05

Useful links