View source: R/makeNominalData.R
makeNominalData | R Documentation |
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)
datain |
a data matrix where the columns will be recoded. |
dataout |
a transformed version of datain. |
Derek Beaton
epMCA
data(mca.wine)
nominal.wine <- makeNominalData(mca.wine$data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.