Learn R Programming

rgTest (version 0.1)

kmst: construct k-mst

Description

construct k-mst

Usage

kmst(y = NULL, dis = NULL, k = 1)

Value

An edge matrix representing a similarity graph. Each row represents an edge and records the indices of two ends of an edge in two columns.

Arguments

y

data

dis

distance matrix

k

parameter in K-MST, with default 1