</p>
<p><code>aug.func</code> can be used for augmentation by passing it to
<code>fit.subgroup()</code> like:</p>
<div class="sourceCode" id="cb7"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb7-1"><a href="#cb7-1" aria-hidden="true" tabindex="-1"></a>subgrp.model.aug <span class="ot">&lt;-</span> <span class="fu">fit.subgroup</span>(<span class="at">x =</span> x, <span class="at">y =</span> y,</span>
<span id="cb7-2"><a href="#cb7-2" aria-hidden="true" tabindex="-1"></a>                 