ass="va">i</span>,<span class="va">simulation</span><span class="op">)</span><span class="op">)</span><span class="op">)</span></span>
<span>    <span class="va">TxDisc</span> <span class="op">&lt;-</span> <span class="cn">Inf</span> <span class="co">#Treatment discontinuation will occur at progression</span></span>
<span>    <span class="va">Death</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/Extremes.html" class="external-link">min</a></span><span class="op">(</span