ss="external-link">set.seed</a></span><span class="op">(</span><span class="fl">1</span><span class="op">)</span></span>
<span class="r-in"><span class="va">n</span> <span class="op">=</span> <span class="fl">1000</span></span>
<span class="r-in"><span class="va">p</span> <span class="op">=</span> <span class="fl">1000</span></span>
<span class="r-in"><span class="va">beta</span> <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/rep.html" class="external-link">rep</a></span><span cl