'Correspondance Analysis R
I have a dataframe with 100k rows and 20 binary variables, one of which is my target.
I would like to apply CA on it, but I have a few doubts:
should the target column be included into the CA?
CA is a way to analyze a large contingency table. The command
tableis used to get the contingency table but I get as many 2x2 tables as there are pairwise combinations of variables. Instead, correct me if I'm wrong, I need just one table with the counts for each column relative to my target variable, like:var1 var2 ... var19 target 0 73k 45k ... 60k 1 37k 55k ... 40kIs there an R function that does this?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
