Learn R Programming

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)

Value

dataout

a transformed version of datain.

Arguments

datain

a data matrix where the columns will be recoded.

Author

Derek Beaton

See Also

epMCA

Examples

Run this code
	data(mca.wine)
	nominal.wine <- makeNominalData(mca.wine$data)

Run the code above in your browser using DataLab