Skip to content
Prev 175206 / 398506 Next

: how to select rows at random

I meant type in "?sample" to see what the 'sample' function does.  For
example, to select 50 random rows,
[1] 1004  857 1219 1850  480  543 1466 1498 1854  922 1713  621  414
1830  105  817  906  825 1329 1500 1806 1623  186  352 1270 1727 1170
518 1743  370  964   20  710  870  248 1227  594  471  704 1751
[41] 1942 1435 1944 1057  849 1886  290  130   48 1195
On Fri, Mar 27, 2009 at 3:18 PM, Laura Rodriguez Murillo
<laura.lmurillo at gmail.com> wrote: