s="external-link">as.numeric</a></span><span class="op">(</span><span class="va">IPD</span><span class="op">[</span><span class="va">i</span>,<span class="st">"AGE"</span><span class="op">]</span><span class="op">)</span>, <span class="co">#Record patient age at baseline</span></span>
<span>  </span>
<span>  <span class="co">#Draw time to non-disease related death from a conditional Gompertz distribution</span></span>
<span>  nat.death <span class="op">=</span> <span class="fu"><a href="../reference/rcond_g