sapply</a></span><span class="op">(</span><span class="va">x</span><span class="op">$</span><span class="va">L</span>, <span class="va">FUN</span><span class="op">)</span></span>
<span>  <span class="va">R</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/lapply.html" class="external-link">sapply</a></span><span class="op">(</span><span class="va">x</span><span class="op">$</span><span class="va">R</span>, <span class="va">FUN</span><span class="op">)</span></span></code>