Skip to content
Prev 311605 / 398503 Next

Data Extraction

On 22-11-2012, at 16:50, Muhuri, Pradip (SAMHSA/CBHSQ) wrote:

            
Bert's solution is indeed nice and simple. But Petr's solution is still the quickest:
test elapsed relative replications
1 d1 <- f1(df)   3.588   14.888          100
2 d2 <- f2(df)   0.403    1.672          100
3 d3 <- f3(df)   0.241    1.000          100
4 d4 <- f4(df)   0.557    2.311          100
[1] TRUE
[1] TRUE
[1] TRUE

Berend