makeindicator: Make an Indicator matrix

View source: R/makeindicator.R

makeindicatorR 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, Eric J Beh.


CA3variants documentation built on Oct. 10, 2022, 5:07 p.m.