Description Usage Arguments Value Examples
Recoding of the qualitative data matrix.
1 |
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". |
G |
The indicator matix of X with missing values replaced by 0. |
1 2 3 4 | data(vnf)
X <- vnf[1:10,9:12]
tab.disjonctif.NA(X)
recodqual(X)
|
1 2 3 1 2 1 2 1 2 3
1 0 1 0 NA NA NA NA 0 1 0
2 0 0 1 0 1 NA NA NA NA NA
3 0 1 0 1 0 1 0 0 1 0
4 1 0 0 1 0 1 0 1 0 0
5 0 1 0 1 0 0 1 0 1 0
6 1 0 0 NA NA NA NA NA NA NA
7 0 1 0 0 1 0 1 0 1 0
8 NA NA NA NA NA NA NA NA NA NA
9 0 1 0 0 1 1 0 0 1 0
10 0 0 1 1 0 1 0 0 0 1
1 2 3 1 2 1 2 1 2 3
1 0 1 0 0 0 0 0 0 1 0
2 0 0 1 0 1 0 0 0 0 0
3 0 1 0 1 0 1 0 0 1 0
4 1 0 0 1 0 1 0 1 0 0
5 0 1 0 1 0 0 1 0 1 0
6 1 0 0 0 0 0 0 0 0 0
7 0 1 0 0 1 0 1 0 1 0
8 0 0 0 0 0 0 0 0 0 0
9 0 1 0 0 1 1 0 0 1 0
10 0 0 1 1 0 1 0 0 0 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.