ass='op'>&lt;-</span> <span class='fu'><a href='generate_data.html'>generate_data</a></span><span class='op'>(</span>n <span class='op'>=</span> <span class='fl'>100</span>, d <span class='op'>=</span> <span class='fl'>2</span><span class='op'>)</span>
<span class='va'>xf</span> <span class='op'>&lt;-</span> <span class='va'>df</span><span class='op'>[</span>, <span class='op'>-</span><span class='fu'><a href='https://rdrr.io/r/base/nrow.html'>ncol</a></span><span class='op'>(</span><span class='va'>df</spa