ExPosition (version 2.8.23)

makeNominalData: makeNominalData

Description

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).

Usage

makeNominalData(datain)

Arguments

datain

a data matrix where the columns will be recoded.

Value

dataout

a transformed version of datain.

See Also

epMCA

Examples

Run this code
# NOT RUN {
	data(mca.wine)
	nominal.wine <- makeNominalData(mca.wine$data)
# }

Run the code above in your browser using DataCamp Workspace