wt  qsec vs am gear carb
#&gt; 1: 15.2   8 304.0 150 3.15 3.435 17.30  0  0    3    2
#&gt; 2: 17.8   6 167.6 123 3.92 3.440 18.90  1  0    4    4
#&gt; 3: 21.0   6 160.0 110 3.90 2.620 16.46  0  1    4    4</div><div class='input'><span class='fu'>sample_frac_dt</span>(<span class='no'>mtcars</span>, <span class='fl'>1.5</span>, <span class='kw'>replace</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>)</div><div class='output co'>#&gt;      mpg cyl  disp  hp drat    wt  qsec vs am gear carb