Learn R Programming

CA3variants (version 3.3.1)

makeindicator: Make an Indicator matrix

Description

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

Usage

makeindicator(X)

Value

Z

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

Arguments

X

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

Author

Rosaria Lombardo, Eric J Beh.