title: What does "argument to 'which' is not logical" mean in FactoMineR MCA?
body: <p>I'm trying to run an MCA on a datatable using FactoMineR. It contains only 0/1 numerical columns, and its size is 200.000 * 20.</p>
  
  <pre><code>require(FactoMineR)
  result &lt;- MCA(data[, colnames, with=F], ncp = 3)
  </code></pre>
  
  <p>I get the following error : </p>
  
  <blockquote>
    <p>Error in which(unlist(lapply(listModa, is.numeric))) : 
      argument to 'which' is not logical</p>
  </blockquote>
  
  <p>I didn't really know what to do with this error. Then I tried to <strong>turn every column to character</strong>, and everything worked. I thought it could be useful to someone else, and that maybe someone would be able to explain the error to me ;)</p>
  
  <p>Cheers</p>