an class="va">trt.prob</span><span class="op">)</span></span>
<span class="r-in"></span>
<span class="r-in"><span class="va">trt</span>      <span class="op">&lt;-</span> <span class="fl">2</span> <span class="op">*</span> <span class="va">trt01</span> <span class="op">-</span> <span class="fl">1</span></span>
<span class="r-in"></span>
<span class="r-in"><span class="co"># simulate response</span></span>
<span class="r-in"><span class="va">delta</span> <span class="op">&lt;-</span> <span class="fl">2</span