     

      </header>

<div class="row">
  <div class="col-md-9 contents">
    <div class="page-header">
    <h1>Generate the posterior clusters of a Dirichlet Process</h1>
    <small class="dont-index">Source: <a href='https://github.com/dm13450/dirichletprocess/blob/master/R/posterior_clusters.R'><code>R/posterior_clusters.R</code></a></small>
    <div class="hidden name"><code>PosteriorClusters.Rd</code></div>
    </div>

    <div class="ref-description">
    
    <p>Using the stick breaking representat