makeindicator function

Make an Indicator matrix

Make an Indicator matrix

From a three-way contingency table (as can be used in CA3variants), it gives the N x total number of categories (rows+cols+tubs) indicator matrix

makeindicator(X)

Arguments

  • X: The three-way data array. It must be an R object array.

Returns

  • Z: Output: the N x total number of categories (rows+cols+tubs) indicator matrix

Author(s)

Rosaria Lombardo, Eric J Beh.