d Kaplan-Meier curves. The
simulated progression-free survival curve is lower than the observed due
to the addition of the progression-accelerating event into the
model.</p>
<div class="sourceCode" id="cb13"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="co">#Overall survival</span></span>
<span><span class="va">KM.death</span> <span class="op">&lt;-</span> <span class="va">psa_ipd</span> <span class="op"><a href="https://magrittr.tidyverse.org/reference/pipe.html" class="e