In the indicator matrix the elements are arranged in the form of dummy variables, in other words, 1 for a category chosen as a response variable and 0 for the other categories of the same variable.
Usage
IM(data, names = TRUE)
Value
mtxIndc
Returns converted data in the indicator matrix.
Arguments
data
Categorical data.
names
Include the names of the variables in the levels of the Indicator Matrix (default = TRUE).
Author
Paulo Cesar Ossani
Marcelo Angelo Cirillo
References
Rencher, A. C. Methods of multivariate analysis. 2th. ed. New York: J.Wiley, 2002. 708 p.