% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/constraints.R
\name{constraint_to_model}
\alias{constraint_to_model}
\title{Convert PGMM Constraint Codes to Paper Model Names}
\usage{
constraint_to_model(constraint)
}
\arguments{
\item{constraint}{Integer or numeric vector of length three with entries
`0` or `1`. `1` maps to `C`; `0` maps to `U`.}
}
\value{
A character scalar, one of `CCC`, `CCU`, `CUC`, `CUU`, `UCC`,
  `UCU`, `UUC`, or `UUU`.
}
\description{
The paper represents the eight PGMM covariance structures with three-letter
model names. Each letter is either `C` for constrained or `U` for
unconstrained. The letters indicate whether the loading matrix is shared
across clusters, whether the noise covariance is shared across clusters, and
whether the noise covariance is isotropic within clusters.
}
