Learn R Programming

sams (version 0.4.3)

isCanonical: Check if a Vector of Cluster Labels is in Canonical Form

Description

Check if a Vector of Cluster Labels is in Canonical Form

Usage

isCanonical(partition)

Arguments

partition

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

Value

Logical, indicating whether partition is in canonical form.