span class="fl">1</span></span></span>
<span class="r-in"><span><span class="va">g2</span> <span class="op">&lt;-</span> <span class="fl">1</span></span></span>
<span class="r-in"><span><span class="fu">chisq_g</span><span class="op">(</span><span class="va">x</span>, <span class="va">g1</span>, <span class="va">g2</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> $statistic</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> [1] 0.5555556</span>
