/rdrr.io/r/base/Random.html" class="external-link">set.seed</a></span><span class="op">(</span><span class="fl">1997</span><span class="op">)</span></span>
<span><span class="va">N</span> <span class="op">&lt;-</span> <span class="fl">500</span>  <span class="co"># number of persons</span></span>
<span><span class="va">I</span> <span class="op">&lt;-</span> <span class="fl">4</span>    <span class="co"># number of items</span></span>
<span><span class="va">R</span> <span class="op">&lt;-</span> <span class=