Learn R Programming

NominalLogisticBiplot (version 0.2)

NominalMatrix2Binary: Indicator matrix of a set of nominal variables.

Description

Constructs the indicator matrix for a nominal variables matrix.

Usage

NominalMatrix2Binary(Y)

Arguments

Y
A matrix with nominal variables measured for a set of individuals. Input must be a matrix with integer values.

Value

G
The binary indicator matrix asociated to the nominal matrix

See Also

Nominal2Binary

Examples

Run this code

  data(HairColor)
  NominalMatrix2Binary(data.matrix(HairColor))

Run the code above in your browser using DataLab