The KernelKnn package extends the simple k-nearest neighbors algorithm by incorporating numerous kernel functions and a variety of distance metrics. The package takes advantage of ‘RcppArmadillo’ to speed up the calculation of distances between observations. More details on the functionality of KernelKnn can be found in the blog-post and in the package Vignettes.

To install the package from CRAN use,


and to download the latest version from Github use the install_github function of the devtools package,


Use the following link to report bugs/issues,