n<a class="anchor" aria-label="anchor" href="#example-cram-bandit-simulation"></a>
</h2>
<div class="sourceCode" id="cb1"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span></span>
<span><span class="co"># Number of time steps</span></span>
<span><span class="va">horizon</span>       <span class="op">&lt;-</span> <span class="fl">500L</span></span>
<span></span>
<span><span class="co"># Number of simulations </span></span>
<span><span class="va">simulations</span>   <span class="op">&lt;-</