createNewCluster {sams}R Documentation

Create a New Cluster with Given Item

Description

Create a New Cluster with Given Item

Usage

createNewCluster(i, partition)

Arguments

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

Value

Updated partition with a new cluster.


[Package sams version 0.4.3 Index]