title: Test unknown data in Kmeans Clustering in R
body: <p>For example, I have a dataset of X= {1, 1.5, 5, 3, 4, 3} and Y = {1, 1.5, 5, 4, 4, 3.5}. What i did is --</p>
  
  <pre><code>data &lt;− read . csv (”exp . csv”) 
  print ( data )
  results &lt;− kmeans(data , 2)
  results
  results $ size 
  results $ cluster
  plot (temp [ c(”X” , ”Y”) ] , col=results $ cluster )
  </code></pre>
  
  <p>Now I wanna check suppose (1,1) is in which cluster ? How can i do that?</p>