ass="anchor" aria-label="anchor" href="#ref-usage"></a></h2>
    <div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">detect_event3</span><span class="op">(</span></span>
<span>  <span class="va">data</span>,</span>
<span>  x <span class="op">=</span> <span class="va">t</span>,</span>
<span>  y <span class="op">=</span> <span class="va">temp</span>,</span>
<span>  seasClim <span class="op">=</span> <span class="va">seas</span>,</span>
<span>  threshClim <span class="op">=</span> <s