compute a "smooth" distance to the kth neighbor and approximate first neighbor
smooth.knn.dist(k.dist, neighbors, iterations = 64,
local.connectivity = 1, bandwidth = 1, tolerance = 1e-05,
min.dist.scale = 0.001)
matrix with distances to k neighbors
numeric, number of neighbors to approximate for
integers, number of iterations
iteger
numeric
numeric, for numeric precision
numeric, minimum distance to nearest neighbor (for display)
list with two vectors, distances to the kth neighbor, and distance to the first nearest neighbor