recod: Recoding of the quantitative and qualitative data matrix
Description
Recoding of the quantitative and qualitative data matrix
Usage
recod(X.quanti, X.quali)
Arguments
X.quanti
numeric matrix of data
X.quali
a categorical matrix of data
Value
XX.quanti and X.quali concatenated in a single
matrix
YX.quanti with missing values replaced with mean
values concatenated with the indicator
matrix of X.quali with missing values replaced by zeros
ZX.quanti standardized (centered and reduced by
standard deviations) concatenated with the indicator
matrix of X.quali centered and reduced with the square
roots of the relative frequencies of the categories
WX.quanti standardized (centered and reduced by
standard deviations) concatenated with the indicator
matrix of X.quali centered
nthe number of objects
pthe total number of variables
p1the number of quantitative variables
p2the number of qualitative variables
gthe means of the columns of Y
sthe standard deviations of the columns of
Y
GThe indicator matix of X.quali with missing
values replaced by 0
GcodThe indicator matix G reduced with the square
roots of the relative frequencies of the categories