983-01-01"</span>, <span class="st">"2012-12-31"</span><span class="op">)</span>,</span></span>
<span class="r-in"><span>                    pctile <span class="op">=</span> <span class="fl">10</span><span class="op">)</span></span></span>
<span class="r-in"><span><span class="va">out</span> <span class="op">&lt;-</span> <span class="fu">detect_event3</span><span class="op">(</span><span class="va">res_clim</span>, coldSpells <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span></s