> <span class="fl">1</span><span class="op">:</span><span class="op">(</span><span class="fl">3</span><span class="op">*</span><span class="va">I</span><span class="op">)</span><span class="op">)</span><span class="op">{</span></span>
<span>    <span class="co"># define probability</span></span>
<span>    <span class="va">tmp1</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/Log.html" class="external-link">exp</a></span><span class="op">(</span> <span class="va">theta</s