srtcor function

Sort the core array

Sort the core array

This function sorts (a copy of) the core matrix and returns CORPTR, an pqr integer array holding the pointers to the greatest absolute values in CORE.

srtcor(core, p, q, r)

Arguments

  • core: The core array (generalized singular values).
  • p: The dimension number of the first mode.
  • q: The dimension number of the second mode.
  • r: The dimension number of the third mode.

Returns

  • coreptr: The pointer to the ordered largest value of the core array.

References

Kroonenberg PM (1994) The TUCKALS line: a suite of programs for three-way data analysis. Computational Statistics and Data Analysis, 18, 73--96.

Author(s)

Rosaria Lombardo and Pieter M Kroonenberg.