Identify Which Cluster Contains a Given Item
clusterWithItem(i, partition)
Item index as an integer vector of length one
Set partition of the integers \(1\), ..., \(n\) represented as either a numeric vector of cluster labels, or a list containing subsets of these integers
A list consisting of
An integer representing
which cluster i
belongs to
The subset of indices
that correspond to the same cluster as i