Description Usage Arguments Value
compute a "smooth" distance to the kth neighbor and approximate first neighbor
1 2 3 | smooth.knn.dist(k.dist, neighbors, iterations = 64,
local.connectivity = 1, bandwidth = 1, tolerance = 1e-05,
min.dist.scale = 0.001)
|
k.dist |
matrix with distances to k neighbors |
neighbors |
numeric, number of neighbors to approximate for |
iterations |
integers, number of iterations |
local.connectivity |
iteger |
bandwidth |
numeric |
tolerance |
numeric, for numeric precision |
min.dist.scale |
numeric, minimum distance to nearest neighbor (for display) |
list with two vectors, distances to the kth neighbor, and distance to the first nearest neighbor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.