Skip to contents

This function extracts the cluster class identifiers from a cluster result object. It is a method for the cl_class_ids generic from the clue package.

Usage

# S3 method for class 'cluster_result'
cl_class_ids(x)

Arguments

x

A cluster_result object containing clustering information.

Value

An integer vector of cluster assignments, one for each data point.

See also

cl_class_ids for the generic function.