| calculate_reachability_distance | R Documentation |
For every pair of points (i, j), the mutual-reachability distance is
d_{\text{reach}}(i,j) =
\max\bigl(\text{core}_k(i),\; \text{core}_k(j),\; d(i,j)\bigr)
where \text{core}_k(i) is the distance from point i to its
k-th nearest neighbour (k = \texttt{min\_points} - 1) and
d(i,j) is the Euclidean distance.
calculate_reachability_distance(points, min_points = 5)
points |
A numeric matrix of shape |
min_points |
A positive integer |
A symmetric n \times n numeric matrix of mutual-reachability
distances with zeros on the diagonal.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.