title: K means clustering of variable with multiple values
body: <p>I have a sample data below that is from a large data set,  where each participant is given multiple condition for scoring.</p>
  
  <pre><code>Participant&lt;-c("p1","p1","p2","p2","p3","p3")
  Condition&lt;-c( "c1","c2","c1","c2","c1","c2")
  Score&lt;-c(4,5, 5,7,8,2)
  T&lt;-data.frame(Participant, Condition, Score)
  </code></pre>
  
  <p>I am trying to use K-mean clustering to split participants in different groups, is there any good way to do it, considering the condition is not numeric?</p>
  
  <p>thanks! </p>