Description Usage Arguments Value
View source: R/mstclustering.R
Generate edge list from a distance matrix Duplicates are not deleted, because they will not be counted by Kruskal's algorithm If a check is O(1), this only adds an O(E) overhead, which is negligible
1 | gen.edge.list(mat)
|
mat |
The distance matrix. |
A data frame with three columns: 'from', 'to', 'dist'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.