Description Usage Arguments Value
A sorting function using the Neighborhood algorithm
1 | neighborhood_sorting(d, weights_mat = NULL, max_iter = 100)
|
d |
A matrix containing n-by-n cell distance. |
weights_mat |
A weight matrix of size n-by-n. |
max_iter |
An integer number indicating the maximum number of iteration if sorting does not converge. |
A list containing ordering
(a vector of re-ordered sequence) and
cost
(a numeric value).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.