 chosen item, resulting in a uniformly drawn permutation of the integers <code>1:N</code>.<a href="#fn1" class="footnote-ref" id="fnref1" role="doc-noteref"><sup>1</sup></a></p>
<p>The transformed data block uses the permutation RNG to generate training data and test data by taking prefixes and suffixes of the permuted data.</p>
<div class="sourceCode" id="cb4"><pre class="sourceCode stan code-with-copy"><code class="sourceCode stan"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><sp