Summarize a cluster fit
summary.dpmixgpd_cluster_fit.RdSummarize the posterior clustering induced by the Dahl representative partition.
Arguments
- object
A cluster fit.
- burnin
Number of initial posterior draws to discard.
- thin
Keep every
thin-th posterior draw.- top_n
Number of populated clusters to profile when descriptive summaries are available.
- order_by
Ordering rule for descriptive cluster profiles:
"size": decreasing cluster size"label": ascending cluster label
- vars
Optional character vector of numeric columns to summarize within each cluster.
- ...
Unused.
Value
Summary list with the number of retained clusters, cluster sizes, optional cluster-level descriptive summaries, and the burn-in/thinning settings used to construct the summary.
Details
This summary is based on predict.dpmixgpd_cluster_fit() with type = "label". The reported
cluster count \(K^*\) is the number of unique labels in the representative partition rather
than the number of components available in the truncated sampler.
See also
predict.dpmixgpd_cluster_fit(), plot.dpmixgpd_cluster_fit(),
summary.dpmixgpd_cluster_labels().
Other cluster workflow:
dpmgpd.cluster(),
dpmix.cluster(),
plot.dpmixgpd_cluster_bundle(),
plot.dpmixgpd_cluster_fit(),
plot.dpmixgpd_cluster_labels(),
plot.dpmixgpd_cluster_psm(),
predict.dpmixgpd_cluster_fit(),
print.dpmixgpd_cluster_bundle(),
print.dpmixgpd_cluster_fit(),
print.dpmixgpd_cluster_labels(),
print.dpmixgpd_cluster_psm(),
summary.dpmixgpd_cluster_bundle(),
summary.dpmixgpd_cluster_labels(),
summary.dpmixgpd_cluster_psm()