Learn R Programming

sams (version 0.4.3)

asClusterLabels: Coerce a Set Partition in List Structure to Numeric Vectors of Cluster Label

Description

Coerce a Set Partition in List Structure to Numeric Vectors of Cluster Label

Usage

asClusterLabels(partition)

Arguments

partition

A list representing a set partition of the integers \(1\), ..., \(n\)

Value

A numeric vector representing the set partition using cluster labels.