Learn R Programming

sams (version 0.4.3)

asCanonical: Coerce a Vector of Cluster Labels to Canonical Form

Description

Coerce a Vector of Cluster Labels to Canonical Form

Usage

asCanonical(partition)

Arguments

partition

A numeric vector representing a set partition of the integers \(1\), ..., \(n\) using cluster labels

Value

A numeric vector representing partition, but now in canonical form.