 class="sourceCode R"><span><span class="co"># Get `tsd_onset` object</span></span>
<span><span class="va">tsd_onset</span> <span class="op">&lt;-</span> <span class="fu"><a href="../reference/seasonal_onset.html">seasonal_onset</a></span><span class="op">(</span></span>
<span>  tsd <span class="op">=</span> <span class="va">tsd_data</span>,</span>
<span>  disease_threshold <span class="op">=</span> <span class="fl">25</span>,</span>
<span>  family <span class="op">=</span> <span class="st">"quasipoisson"</