o'>#&gt; <span class='message'>Completed simulation in 0:00:01.197</span></div><div class='output co'>#&gt; <span class='message'>Computing statistics.</span></div><div class='input'>
<span class='fu'><a href='https://rdrr.io/r/base/plot.html'>plot</a></span>(<span class='no'>history</span>, <span class='kw'>type</span> <span class='kw'>=</span> <span class='st'>"cumulative"</span>)</div><div class='img'><img src='ThompsonSamplingPolicy-1.png' alt='' width='700' height='433' /></div></pre>
  </div>
  <div c