recodqual function

Recoding of the qualitative data matrix.

Recoding of the qualitative data matrix.

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

Returns

  • 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)
  • Maintainer: Marie Chavent
  • License: GPL (>= 2.0)
  • Last published: 2017-10-23

Useful links