byCluster: By Cluster

Description Usage Arguments Value Author(s) See Also Examples

View source: R/cluster.R

Description

Re-organize a vector valued clustering into an list which groups cluster members together

Usage

1
byCluster(clustering, excludeSingletons = TRUE)

Arguments

clustering

A named vector in which the names are cluster members and the values are cluster labels. This is format output by jarvisPatrick.

excludeSingletons

If true only clusters with more than 1 member will be in the output, otherwise all clusters will be used.

Value

A list with a slot for each cluster. Each slot of the list is a vector containing the cluster members.

Author(s)

Kevin Horan

See Also

jarvisPatrick

Examples

1
2
3

ChemmineR documentation built on Feb. 28, 2021, 2:02 a.m.