In R, I implement some machine learning tasks. Now I\'ve encountered a problem, maybe I don\'t see the forest for the trees.
# The dispatcher knn <- function(o