ent value of a vector and use that to derive the name of the group.</p>
<div class="sourceCode" id="cb12"><pre class="sourceCode R"><code class="sourceCode r"><span id="cb12-1"><a href="#cb12-1" aria-hidden="true"></a><span class="op">&gt;</span><span class="st"> </span>most_frequent &lt;-<span class="st"> </span><span class="cf">function</span>(x) {</span>
<span id="cb12-2"><a href="#cb12-2" aria-hidden="true"></a><span class="op">+</span><span class="st">   </span>t &lt;-<span class="st"> </span><span cla