prod3 function

Products among arrays

Products among arrays

The function calculates the products among arrays.

prod3(m, a1, a2, a3)

Arguments

  • m: The original three-way contingency table.
  • a1: The weight matrix related to the rows of the table.
  • a2: The weight matrix related to the columns of the table.
  • a3: The weight matrix related to the tubes of the table.

Details

It is utilised in standtab, rstand3 and rstand3delta in order to weight the contingency table with respect to the three weigth matrices defined in the row, column and tube spaces differently for the three variants of three-way correspondence analysis.

Returns

The three-way contingency table weighted with respect the suitable weight matrices (depending on the analysis variants).

Author(s)

Rosaria Lombardo, Eric J Beh, Ida Camminatiello.