knn-in-R Functional and procedural implementations of k nearest neighbors in R. Several values of k are tested. For the regression task, MAE, MSE, and RMSE are evaluated, while for classification it evaluates Accuracy.