‘recent’ as a function of time since infection <span class="math inline">\(P_R(t)\)</span>. As an option, one of two functional forms (with their associated link functions) can be selected by the user. Fitting is performed using a generalised linear model (as implemented in the <em>glm2</em> package) to estimate parameters.</p>
<p>The linear binomial regression model takes the following form, with <span class="math inline">\(g()\)</span> the link function</p>
<p><span class="math display">\[\begin{equat