recodqual: Recoding of the qualitative data matrix.

View source: R/recodqual.R

recodqualR Documentation

Recoding of the qualitative data matrix.

Description

Recoding of the qualitative data matrix.

Usage

recodqual(X,rename.level=FALSE)

Arguments

X

the qualitative data matrix.

rename.level

boolean, if TRUE all the levels of the qualitative variables are renamed as follows: "variable_name=level_name".

Value

G

The indicator matix of X with missing values replaced by 0.

Examples

data(vnf)
X <- vnf[1:10,9:12]
tab.disjonctif.NA(X)
recodqual(X)

chavent/PCAmixdata documentation built on Dec. 15, 2022, 5:56 p.m.