=</span> <span class="fl">0</span>, <span class="st">'mean'</span> <span class="kw">=</span> <span class="fl">0</span>)

      <span class="co"># Here we define a list with 'n' and 'mean' theta parameters to each</span>
      <span class="co"># arm through helper variable self$theta_to_arms. That is, when the</span>
      <span class="co"># number of arms is 'k', the above would equal:</span>

      <span class="co"># self$theta &lt;- list(n = rep(list(0,k)), 'mean' = rep(list(0,k)))</span>

      <span cla