This function built the indicator matrix of a qualitative data matrix. Missing observations are indicated as NAs.
a categorical data matrix..
boolean, if TRUE all the levels of the qualitative variables are renamed as follows: variable_name=level_name.
This function uses the code of the function tab.disjonctif implemented in the package FactoMineR but is different. Here, a NA value appears when a category has not been observed in a row. In the function tab.disjonctif of the package FactoMineR, a new column is created in that case.
Returns the indicator matrix with NA for missing observations.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.