makeindicator {CA3variants}R Documentation

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) 

Arguments

X

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

Value

Z

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

Author(s)

Rosaria Lombardo, Michel van de Velden, Eric J Beh.

References

Beh EJ and Lombardo R (2014). Correspondence Analysis, Theory, Practice and New Strategies. John Wiley & Sons.\

Examples

data(happy)
makeindicator(happy)

[Package CA3variants version 3.0 Index]