a.frame</a></span><span class="op">(</span><span class="va">Titanic</span><span class="op">)</span></span></span>
<span class="r-in"><span><span class="va">titanic</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/transform.html" class="external-link">transform</a></span><span class="op">(</span><span class="va">titanic</span>, Lives <span class="op">=</span> <span class="va">Freq</span> <span class="op">*</span> <span class="op">(</span><span class="op">-</span><span cla