% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/summarize-result.R
\name{summarize_pgmm_rjmcmc}
\alias{summarize_pgmm_rjmcmc}
\title{Summarize RJMCMC Samples from a Bayesian PGMM Fit}
\usage{
summarize_pgmm_rjmcmc(fit, true_cluster = NULL)
}
\arguments{
\item{fit}{Result list from [pgmm_rjmcmc()].}

\item{true_cluster}{Optional true or reference cluster allocation.}
}
\value{
A list with `allocation`, `n_clusters`, `n_constraints`, and optionally
  `ari`.
}
\description{
Summarizes posterior samples from [pgmm_rjmcmc()] into the modal allocation,
posterior counts for the number of clusters, posterior counts for the eight
PGMM covariance-constraint models, and optionally the adjusted Rand index
against a known reference partition.
}
