/span></a>
<a class="sourceLine" id="cb5-26" data-line-number="26"><span class="co"># exposed &lt;- exp(-predict(fit, expose.cov, type = &quot;link&quot;))</span></a>
<a class="sourceLine" id="cb5-27" data-line-number="27"><span class="co"># unexposed &lt;- exp(-predict(fit, unexpose.cov, type = &quot;link&quot;))</span></a>
<a class="sourceLine" id="cb5-28" data-line-number="28"><span class="co"># RR &lt;- (1 + unexposed) / (1 + exposed)</span></a></code></pre></div>
<p>Let us change the prevalence of expo