"><span><span class="va">ctd3</span> <span class="op">&lt;-</span> <span class="fu">ctdDecimate</span><span class="op">(</span><span class="va">ctd</span>, p <span class="op">=</span> <span class="va">p</span>, method <span class="op">=</span> <span class="kw">function</span><span class="op">(</span><span class="va">x</span>, <span class="va">y</span>, <span class="va">xout</span><span class="op">)</span> <span class="op">{</span></span></span>
<span class="r-in"><span>    <span class="fu"><a href="https://