ComputeSplus: ComputeSplus

View source: R/ComputeSplus.R

ComputeSplusR Documentation

ComputeSplus

Description

Compute the compromise matrix for STATIS/DISTATIS

Usage

ComputeSplus(CubeCP, alpha)

Arguments

CubeCP

A 3D array of cross-product matrices.

alpha

The vector of weights

Value

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))


DistatisR documentation built on Dec. 5, 2022, 9:05 a.m.