Compute gaussian nearest neighbor distances.
GaussianDist(data, ka)
An M x d matrix or data.frame with M rows of data points and d columns of features.
Number of nearest neighbors. See details from nn2
.
Returns the distance matrix.
{
dist.mat <- GaussianDist(iris[,1:2], ka = 10)
}