ates over both rows and columns (using the default
<code>margin = c(1,2)</code>) with nothing in the
<code>aggregation_map</code> to aggregate the two “duck” rows. The error
is informative: “Row names not unique. Duplicated row names are:
duck”.</p>
<div class="sourceCode" id="cb6"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="co"># Not run</span></span>
<span><span class="fu"><a href="../reference/aggregate_byname.html">aggregate_byname</a></span><span class="op">