ECL: How to choose k elements from a dataset of N records?
Solution 1 : Problem : randds (in line 9) can have repeated numbers. Solution 2 : Problem : There is a certain pattern to this sampled data. Solution 3 : Problem : This is slow.