>n</span>, each <span class="op">=</span> <span class="va">K</span><span class="op">)</span></span></span>
<span class="r-in"><span><span class="va">eta.y</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/vector.html" class="external-link">as.vector</a></span><span class="op">(</span><span class="va">X</span> <span class="op"><a href="https://rdrr.io/r/base/matmult.html" class="external-link">%*%</a></span> <span class="va">betas</span> <span class="op">+</span> <span cla