View source: R/faster_orderings.R
order_maximin_dist | R Documentation |
This function orders the points in a maximin ordering based on distance.
order_maximin_dist(d)
d |
distance matrix (e.g. distances) |
Maximin ordering of the points corresponding to the matrix
n <- 100 fake_dists <- matrix(runif(n^2), nc = n) #make it a valid distance matrix by making d(a,a) = 0 diag(fake_dists) <- 0 order_mm <- order_maximin_dist(fake_dists) #reorder data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.