 href="https://rdrr.io/r/base/length.html" class="external-link">length</a></span><span class="op">(</span><span class="va">tsd_data</span><span class="op">$</span><span class="va">cases</span><span class="op">)</span><span class="op">)</span></span>
<span><span class="op">)</span></span></code></pre></div>
<p>Determine the disease-specific threshold:
<img src="aedseo_files/figure-html/unnamed-chunk-12-1.png" width="2187.5">
Run the main algorithm:</p>
<div class="sourceCode" id="cb11"><pre class="downlit s