Question



kNN.index vs. knn

Dr. Ballings,

Do we have to use knn.index or can we use the knn function built into R?

Thanks,
Michael





Answers and follow-up questions





Answer or follow-up question 1

Dear Michael,

Whatever works for you.

FYI, the knn function is not part of base R (i.e., built into R in your words).
It is part of the FNN package.

Michel Ballings



Sign in to be able to add an answer or mark this question as resolved.