Re-assigns members of one cluster to another specified cluster,
reducing the number of clusters by one.
Usage
mergeclust(clustering,from,to)
Arguments
clustering
a vector of (integer) cluster memberships, or an
object of class‘partition’, ‘partana’, or ‘clustering’
from
the cluster number to be vacated
to
the cluster to which members will be re-assigned
Details
The function simply renumbers members of one cluster with the number of another,
but greatly simplifies managing the list objects class‘partition’, ‘partana’,
or ‘clustering’ and simplifes the syntax.
Value
A list object of class ‘clustering’ specifying cluster membership for
every object.