n></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># generate data</span></span></span>
<span class="r-in"><span><span class="va">y</span> <span class="op">&lt;-</span> <span class="fu">MASS</span><span class="fu">::</span><span class="fu"><a href="https://rdrr.io/pkg/MASS/man/mvrnorm.html" class="external-link">mvrnorm</a></span><span class="op">(</span>n <span class="op">=</span> <span class="fl">200</span>,</span></span>
<span class="r-in"><span>                  