ss="sourceCode r"><code><span><span class="fu">wapply</span><span class="op">(</span><span class="va">x</span>, <span class="va">y</span>, fun<span class="op">=</span><span class="va">mean</span>, method<span class="op">=</span><span class="st">"range"</span>, <span class="va">width</span>, n<span class="op">=</span><span class="fl">50</span>, drop.na<span class="op">=</span><span class="cn">TRUE</span>,</span>
<span>       <span class="va">pts</span>, <span class="va">...</span><span class="op">)</span></s