clusterWithItem | R Documentation |
Identify Which Cluster Contains a Given Item
clusterWithItem(i, partition)
i |
Item index as an integer vector of length one |
partition |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.