get_cluster_ids: Extract cluster IDs from a fitted model

View source: R/autosum.R

get_cluster_idsR Documentation

Extract cluster IDs from a fitted model

Description

S3 generic to extract the cluster/group identifier vector from a fitted model. Returns NULL for models that do not have a clustering structure.

Usage

get_cluster_ids(model)

Arguments

model

A fitted model object.

Value

A vector of cluster identifiers (one per observation), or NULL.


reportRmd documentation built on March 20, 2026, 5:06 p.m.