ndomly-sample-rows-with-sample_n_dt-and-sample_frac_dt">Randomly sample rows with <code>sample_n_dt()</code> and
<code>sample_frac_dt()</code><a class="anchor" aria-label="anchor" href="#randomly-sample-rows-with-sample_n_dt-and-sample_frac_dt"></a>
</h3>
<div class="sourceCode" id="cb13"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="fu"><a href="../reference/sample.html">sample_n_dt</a></span><span class="op">(</span><span class="va">flights</span>, <span class="fl">10</s