title: How to get the elements from a k means cluster in R
body: <p>I want to see all the elements from a k means cluster in R.</p>
  
  <p>So for example I have a table named userSatisfaction with the columns: <strong>userID,</strong> <em><strong>variable (1 -> 7</strong>)</em> and a <strong>percentage ( 0 - 1%)</strong> I want to find out all users in the cluster number 2.</p>
  
  <p>After I am clustering the elements of the table I want to see the users which are in the same cluster.</p>
  
  <p>So for example if I have 5 clusters, I would like too see all the users from cluster 2. How can I do that in R ?</p>
  
  <p>Thank you.</p>