title: Principal Components for categorical Variables
body: <p>I have data that contains both continuous and categorical variables. I want to find principal components as one can find using <code>prcomp</code> function (in R) for continuous variables. I've seen the function <code>MFA</code> in the <code>FactoMineR</code> package. I grouped all categorical variables as one group and continuous variables as the other group in <code>MFA()</code>. After running the function and trying to print the result <code>res = MFA(...)</code>, I get:</p>
  
  <pre><code>       name                 description                                           
  1  "$eig"               "eigenvalues"                                         
  2  "$separate.analyses" "separate analyses for each group of variables"       
  3  "$group"             "results for all the groups"                          
  4  "$partial.axes"      "results for the partial axes"                        
  5  "$inertia.ratio"     "inertia ratio"                                       
  6  "$ind"               "results for the individuals"                         
  7  "$quanti.var"        "results for the quantitative variables"              
  8  "$quali.var"         "results for the categorical variables"               
  9  "$quanti.var.sup"    "results for the quantitative supplementary variables"
  10 "$summary.quanti"    "summary for the quantitative variables"              
  11 "$summary.quali"     "summary for the categorical variables"               
  12 "$global.pca"        "results for the global PCA"  
  </code></pre>
  
  <p>And I don't know where the principal components are, all I can see are the eigenvalues using <code>res$eig</code>, I'm trying to reduce the dimensions of data but I'm heavily out of luck as I can't understand where to check for the eigenvectors(PC) or the components of original data along the PCs. Doing a <code>ls(res$ind)</code> gives me <code>"coord"</code>, <code>"cos2"</code>, <code>"contrib"</code>, I can't make out what these are or even if I need these ...</p>