</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"A"</span>, <span class="st">"B"</span>, <span class="st">"A"</span>, <span class="st">"B"</span><span class="op">)</span></span></span>
<span class="r-in"><span><span class="fu">props_by_group</span><span class="op">(</span><span class="va">x</span>, <span class="va">g1</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span