title: How to implement Knn-algorithm without using k-nn function in r?
body: <p>Is there any link to refer? Actually i am new to r programming.
  I have no idea how to implement without k-nn function.I find example code only by using knn function.</p>