kknn is a R package for Weighted k-Nearest Neighbors Classification, Regression and Clustering.
You can install
install.packages("kknn")
devtools::install_github("KlausVigo/kknn")
If you use kknn please cite:
Hechenbichler K. and Schliep K.P. (2004) Weighted k-Nearest-Neighbor Techniques and Ordinal Classification, Discussion Paper 399, SFB 386, Ludwig-Maximilians University Munich
kknn is licensed under the GPLv2.