title: using k-NN in R with categorical values
body: <p>I'm looking to perform classification on data with mostly categorical features. For that purpose, Euclidean distance (or any other numerical assuming distance) doesn't fit.</p>
  
  <p>I'm looking for a kNN implementation for [R] where it is possible to select different distance methods, like Hamming distance.
  Is there a way to use common kNN implementations like the one in {class} with different distance metric functions?</p>
  
  <p>I'm using R 2.15</p>