span>, <span class="st">"Y"</span>, <span class="st">"N"</span><span class="op">)</span>,</span>
<span>        CRIT <span class="op">=</span> <span class="st">"CHG &gt; 3"</span></span>
<span>    <span class="op">)</span></span>
<span>  </span>
<span>    <span class="co">## fit the GLM model</span></span>
<span>    <span class="va">model</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/stats/glm.html" class="external-link">glm</a></span><span class="op">(</span><span class="v