 algorithm 4 or 8 depending on conjugacy the sampling procedure for a Dirichlet process is carried out.
Lists of both cluster parameters, weights and the sampled concentration values are included in the fitted <code>dpObj</code>.
When <code>update_prior</code> is set to <code>TRUE</code> the parameters of the base measure are also updated.</p>
    
    </div>

    <pre class="usage"><span class='fu'>Fit</span>(<span class='kw'>dpObj</span>, <span class='kw'>its</span>, updatePrior = <span class='fl'>FALSE</