urceCode"><pre class="sourceCode r"><code><span><span class="fu">kWayStratifiedYReplace</span><span class="op">(</span><span class="va">nRows</span>, <span class="va">nSplits</span>, <span class="va">dframe</span>, <span class="va">y</span><span class="op">)</span></span></code></pre></div>
    </div>

    <div id="arguments">
    <h2>Arguments</h2>
    <dl><dt>nRows</dt>
<dd><p>number of rows to split (&gt;1)</p></dd>


<dt>nSplits</dt>
<dd><p>number of groups to split into (&lt;nRows,&gt;1).</p></dd>


<d