n class="op">+</span> <span class="va">X</span> <span class="op">*</span> <span class="va">Z</span><span class="op">)</span><span class="op">)</span> <span class="co"># censoring time</span></span></span>
<span class="r-in"><span><span class="va">U</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/Extremes.html" class="external-link">pmin</a></span><span class="op">(</span><span class="cn">T</span>, <span class="va">C</span><span class="op">)</span> <span class="co"># tim