>,</span>
<span>                  input <span class="op">=</span> <span class="fl">3</span>,</span>
<span>                  id <span class="op">=</span> <span class="fl">1</span><span class="op">)</span></span>
<span></span>
<span><span class="co"># rankings can be computed in ascending order</span></span>
<span><span class="va">R</span> <span class="op">=</span> <span class="fu">rank_numeric</span><span class="op">(</span><span class="va">df</span>,</span>
<span>                  items <span class="op">=</