pan></span></code></pre>
</div>
</div>
<div class="section level2">
<h2 id="independence-test">
<code>independence.test</code><a class="anchor" aria-label="anchor" href="#independence-test"></a>
</h2>
<p><code>independence.test</code> is a helper function for
<code>sumtable(group.test=TRUE)</code> that tests for independence
between a categorical variable <code>x</code> and another variable
<code>y</code> that may be categorical or numerical.</p>
<p>Then, it outputs a <em>formatted string</em> as its output