powered by
Transforms each column into measure-response columns with disjunctive (0/1) coding. If NA is found somewhere in matrix, barycentric recoding is peformed for the missing value(s).
makeNominalData(datain)
a transformed version of datain.
a data matrix where the columns will be recoded.
Derek Beaton
epMCA
data(mca.wine) nominal.wine <- makeNominalData(mca.wine$data)
Run the code above in your browser using DataLab