Skip to contents

Compact display for a representative clustering.

Usage

# S3 method for class 'dpmixgpd_cluster_labels'
print(x, ...)

Arguments

x

Cluster labels object.

...

Unused.

Value

x, invisibly.

Details

A dpmixgpd_cluster_labels object represents one partition, usually the Dahl representative partition for the training data or the induced allocation of newdata to those representative clusters. The printed output therefore describes the selected labels and their sizes, not the full posterior uncertainty over alternative partitions.

When the object comes from predict(..., return_scores = TRUE), richer assignment information is carried alongside the labels and can be inspected with summary.dpmixgpd_cluster_labels() or plot.dpmixgpd_cluster_labels().