5000  299.5     264     335</span>
<span class="r-in"><span><span class="fu">df_stats</span><span class="op">(</span> <span class="va">hp</span> <span class="op">~</span> <span class="va">cyl</span>, groups <span class="op">=</span> <span class="va">gear</span>, data <span class="op">=</span> <span class="va">mtcars</span>, <span class="va">mean</span>, <span class="va">median</span>, <span class="va">range</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 