gen.edge.list: gen.edge.list

Description Usage Arguments Value

View source: R/mstclustering.R

Description

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

Usage

1

Arguments

mat

The distance matrix.

Value

A data frame with three columns: 'from', 'to', 'dist'.


mstclustering documentation built on Feb. 8, 2022, 9:06 a.m.