FindComponents: Find all the components in the disconnected graph.

Description Usage Arguments Details Value Author(s) See Also

View source: R/HCV.R

Description

To generate the graph with each cluster is connected.

Usage

1
FindComponents(adj, label)

Arguments

adj

'[matrix]': The adjacency matrix of the data.

label

'[numeric]': The label of the data.

Details

The function is used to generate the connected graph by implementing the HCV algorithm to inspect the connectedness of each cluster, if the cluster is disconnected, then we split the cluster into several sub-clusters simplicity.

Value

label

The label of all the components

neighbors

'[list]': The data in same clusters are placed in the same list components

Author(s)

DongDong-Zoez <lbry5230100@gmail.com> University of Taiwan NSYSU.

See Also

'HCV'


DongDong-Zoez/HCV documentation built on Dec. 17, 2021, 5:29 p.m.