General purpose function to estimate models specified in EMC2.</p>
    </div>

    <div class="section level2">
    <h2 id="ref-usage">Usage<a class="anchor" aria-label="anchor" href="#ref-usage"></a></h2>
    <div class="sourceCode"><pre class="sourceCode r"><code><span><span class="co"># S3 method for class 'emc'</span></span>
<span><span class="fu">fit</span><span class="op">(</span></span>
<span>  <span class="va">emc</span>,</span>
<span>  stage <span class="op">=</span> <span class="cn">NULL</span>,</