Learn R Programming

PCAmixdata (version 2.1)

tab.disjonctif.NA: Construction of the indicator matrix of a qualitative data matrix

Description

Construction of the indicator matrix of a qualitative data matrix

Usage

tab.disjonctif.NA(tab)

Arguments

tab
a qualitative data matrix

Value

  • res the indicator matrix with NA for the categories of the variable which is missing in tab

Examples

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

Run the code above in your browser using DataLab