andom.html" class="external-link">set.seed()</a></code>. This is important because there is some
inherent randomness in the estimation procedure, and using a seed
ensures that we (and others) can exactly reproduce the results.</p>
<p>Next, we fit the LCA models. As all variables are ordinal, we can use
the convenience function <code><a href="../reference/mx_lca.html">tidySEM::mx_lca()</a></code>, which is a
wrapper for the generic function <code><a href="../reference/mx_mixture.html">mx_mixture()</a></code>