pan class="va">thresh</span>,</span>
<span>  threshClim2 <span class="op">=</span> <span class="cn">NA</span>,</span>
<span>  minDuration <span class="op">=</span> <span class="fl">5</span>,</span>
<span>  minDuration2 <span class="op">=</span> <span class="va">minDuration</span>,</span>
<span>  joinAcrossGaps <span class="op">=</span> <span class="cn">TRUE</span>,</span>
<span>  maxGap <span class="op">=</span> <span class="fl">2</span>,</span>
<span>  maxGap2 <span class="op">=</span> <span class="va">max