title: How to get which data point was in which cluster based on flexmix
body: <p>I have done cluster analysis using flexmix. </p>
  
  <pre><code>m7 &lt;- stepFlexmix(ADA ~ NLEAD + BIG4 + LOGMKT + LEV + ROA + ROAL + LOSS +  
                         CFO + BTM + GROWTH + ALTMAN + ABSACCRL + 
                         STDEARN + TENURE + LOGASSETS, data = dt,
                    control = list(verbose = 0), k = 1:5, nrep = 5)
  
  m7 &lt;- getModel(m7, "BIC");
  </code></pre>
  
  <p>However, I am not sure how to extract the info that which data point fell in which cluster. Someone suggest the solution. Thanks.</p>